public class ActionArgument<S extends Service> extends Object implements Validatable
No, I haven't figured out so far what the "return value" thingy is good for.
Modifier and Type | Class and Description |
---|---|
static class |
ActionArgument.Direction |
Constructor and Description |
---|
ActionArgument(String name,
String[] aliases,
String relatedStateVariableName,
ActionArgument.Direction direction) |
ActionArgument(String name,
String[] aliases,
String relatedStateVariableName,
ActionArgument.Direction direction,
boolean returnValue) |
ActionArgument(String name,
String relatedStateVariableName,
ActionArgument.Direction direction) |
ActionArgument(String name,
String relatedStateVariableName,
ActionArgument.Direction direction,
boolean returnValue) |
Modifier and Type | Method and Description |
---|---|
ActionArgument<S> |
deepCopy() |
Action<S> |
getAction() |
String[] |
getAliases() |
Datatype |
getDatatype() |
ActionArgument.Direction |
getDirection() |
String |
getName() |
String |
getRelatedStateVariableName() |
boolean |
isNameOrAlias(String name) |
boolean |
isReturnValue() |
String |
toString() |
List<ValidationError> |
validate() |
public ActionArgument(String name, String relatedStateVariableName, ActionArgument.Direction direction)
public ActionArgument(String name, String[] aliases, String relatedStateVariableName, ActionArgument.Direction direction)
public ActionArgument(String name, String relatedStateVariableName, ActionArgument.Direction direction, boolean returnValue)
public ActionArgument(String name, String[] aliases, String relatedStateVariableName, ActionArgument.Direction direction, boolean returnValue)
public String getName()
public String[] getAliases()
public boolean isNameOrAlias(String name)
public String getRelatedStateVariableName()
public ActionArgument.Direction getDirection()
public boolean isReturnValue()
public Datatype getDatatype()
public List<ValidationError> validate()
validate
in interface Validatable
List
if all rules validated properly, otherwise, the detected errors.public ActionArgument<S> deepCopy()
Copyright © 2016 4th Line GmbH, Switzerland. All rights reserved.