public class Dependency extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Dependency.Is
Definition of dependency states.
|
static class |
Dependency.OrElse
Definition of dependency results.
|
| Constructor and Description |
|---|
Dependency() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addAllExecuteActions(List<ExecuteAction> executeActions)
Add a list of ExecuteAction objects to the Dependency
|
boolean |
addExecuteAction(ExecuteAction executeAction)
Add a single ExecuteAction object to the Dependency
|
String |
getBeforeAction()
Returns the before-action element value
|
String |
getCheckStateOf()
Returns the check-state-of element value
|
List<ExecuteAction> |
getExecuteActions()
Returns the executes element value
|
Dependency.Is |
getIs()
Returns the is element value
|
Dependency.Is |
getIsNot()
Returns the is-not element value
|
Dependency.OrElse |
getOrElse()
Returns the or-else element value
|
String |
getRetry()
Returns the retry element value
|
Dependency |
setBeforeAction(String beforeAction)
Set the before-action element value
|
Dependency |
setCheckStateOf(String checkStateOf)
Set the check-state-of element value
|
Dependency |
setExecuteActions(List<ExecuteAction> executeActions)
Sets the supplied list of ExecuteActions as the only elements in the Dependency
|
Dependency |
setIs(Dependency.Is is)
Set the is element value
|
Dependency |
setIsNot(Dependency.Is isNot)
Set the is-not element value
|
Dependency |
setOrElse(Dependency.OrElse orElse)
Set the or-else element value
|
Dependency |
setRetry(String retry)
Set the retry element value
|
String |
toCompactString()
Returns a compact string representation of the object in JSON format.
|
String |
toString()
Returns a string representation of the object in JSON format.
|
String |
toXmlCompactString()
Returns a compact string representation of the object in XML format.
|
String |
toXmlString()
Returns a string representation of the object in XML format.
|
public String getBeforeAction()
public Dependency setBeforeAction(String beforeAction)
beforeAction - - string value to set the before-action elementpublic String getCheckStateOf()
public Dependency setCheckStateOf(String checkStateOf)
checkStateOf - - string value to set the check-state-of elementpublic Dependency.Is getIs()
public Dependency setIs(Dependency.Is is)
is - - Is value to set the is elementpublic Dependency.Is getIsNot()
public Dependency setIsNot(Dependency.Is isNot)
isNot - - Is value to set the check-state-of elementpublic String getRetry()
public Dependency setRetry(String retry)
retry - - string value to set the retry elementpublic Dependency.OrElse getOrElse()
public Dependency setOrElse(Dependency.OrElse orElse)
orElse - - OrElse value to set the or-else elementpublic List<ExecuteAction> getExecuteActions()
public boolean addExecuteAction(ExecuteAction executeAction) throws IllegalArgumentException
executeAction - ExecuteAction object to add to the listtrue if this list changed as a result of the callIllegalArgumentException - if input parameter is nullpublic boolean addAllExecuteActions(List<ExecuteAction> executeActions) throws IllegalArgumentException
executeActions - list of ExecuteAction objects to add to the listtrue if this list changed as a result of the callIllegalArgumentException - if input parameter is nullpublic Dependency setExecuteActions(List<ExecuteAction> executeActions)
executeActions - list of ExecuteAction objectsIllegalArgumentException - if input parameter is nullpublic String toXmlCompactString()
public String toXmlString()
public String toCompactString()