public class Capability extends Object implements HasUniqueId
Modifier and Type | Class and Description |
---|---|
static class |
Capability.ExecutionMethod |
Modifier and Type | Field and Description |
---|---|
protected String |
executedBy |
protected Capability.ExecutionMethod |
executionMethod |
protected String |
executionModel
The execution model is store as String and will be (un)marshal via JSON This should be replaced by the API manage
|
protected String |
name |
protected Set<String> |
parameters |
protected String |
uuid |
Constructor and Description |
---|
Capability() |
Capability(String name,
Capability.ExecutionMethod executeMethod,
Object executionModel) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Capability |
executedBy(String executedBy) |
String |
getExecutedBy() |
Capability.ExecutionMethod |
getExecutionMethod() |
String |
getExecutionModel() |
String |
getName() |
Set<String> |
getParameters() |
String |
getUuid() |
int |
hashCode() |
Capability |
hasParameters(String... args) |
Object |
returnExecutionModel() |
void |
setExecutionMethod(Capability.ExecutionMethod executionMethod) |
void |
setExecutionModel(String executionModel) |
void |
setName(String name) |
void |
setUuid(String uuid) |
protected String uuid
protected String name
protected String executedBy
protected Capability.ExecutionMethod executionMethod
protected String executionModel
public Capability()
public Capability(String name, Capability.ExecutionMethod executeMethod, Object executionModel)
public Capability hasParameters(String... args)
public Capability executedBy(String executedBy)
public String getName()
public Capability.ExecutionMethod getExecutionMethod()
public String getExecutedBy()
public String getExecutionModel()
public void setName(String name)
public void setExecutionMethod(Capability.ExecutionMethod executionMethod)
public void setExecutionModel(String executionModel)
public Object returnExecutionModel()
public String getUuid()
getUuid
in interface HasUniqueId
public void setUuid(String uuid)
Copyright © 2016. All Rights Reserved.