public class Action<S extends Service> extends Object implements Validatable
Constructor and Description |
---|
Action(String name,
ActionArgument[] arguments) |
Modifier and Type | Method and Description |
---|---|
Action<S> |
deepCopy() |
ActionArgument[] |
getArguments() |
ActionArgument<S> |
getFirstInputArgument() |
ActionArgument<S> |
getFirstOutputArgument() |
ActionArgument<S> |
getInputArgument(String name) |
ActionArgument<S>[] |
getInputArguments() |
String |
getName() |
ActionArgument<S> |
getOutputArgument(String name) |
ActionArgument<S>[] |
getOutputArguments() |
S |
getService() |
boolean |
hasArguments() |
boolean |
hasInputArguments() |
boolean |
hasOutputArguments() |
String |
toString() |
List<ValidationError> |
validate() |
public Action(String name, ActionArgument[] arguments)
public String getName()
public boolean hasArguments()
public ActionArgument[] getArguments()
public S getService()
public ActionArgument<S> getFirstInputArgument()
public ActionArgument<S> getFirstOutputArgument()
public ActionArgument<S>[] getInputArguments()
public ActionArgument<S> getInputArgument(String name)
public ActionArgument<S>[] getOutputArguments()
public ActionArgument<S> getOutputArgument(String name)
public boolean hasInputArguments()
public boolean hasOutputArguments()
public List<ValidationError> validate()
validate
in interface Validatable
List
if all rules validated properly, otherwise, the detected errors.Copyright © 2016 4th Line GmbH, Switzerland. All rights reserved.