public class ActionFacetImpl extends org.gcube.informationsystem.impl.entity.FacetImpl implements ActionFacet
ActionFacet.ActionFacet.TYPE| Modifier and Type | Field and Description |
|---|---|
protected String |
command
The command to execute
|
protected String |
name |
protected String |
options
Options and parameters for the command.
|
protected String |
source
A remote source used by the command.
|
protected ActionFacet.TYPE |
type
Type of action.
|
additionalProperties, allowedAdditionalKeysDESCRIPTION, NAME, TYPE_PROPERTY, VERSION, WHEN_PROPERTYCLASS_PROPERTY, SUPERCLASSES_PROPERTYNAME_PROPERTY| Constructor and Description |
|---|
ActionFacetImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCommand()
Gets the command to execute.
|
String |
getName()
Gets the name of the facet.
|
String |
getOptions()
The options/params to use when executing the action.
|
String |
getSource()
From where to download the action.
|
ActionFacet.TYPE |
getType()
Type of action.
|
void |
setCommand(String command)
Sets the command to execute.
|
void |
setName(String name)
Sets the name of the facet.
|
void |
setOptions(String options)
The options for the actions.
|
void |
setSource(String source)
A remote source used by the command.
|
void |
setType(ActionFacet.TYPE type) |
addAllowedAdditionalKey, getAdditionalProperties, getAdditionalProperty, setAdditionalProperties, setAdditionalPropertyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitprotected String name
protected ActionFacet.TYPE type
protected String source
protected String options
protected String command
public ActionFacet.TYPE getType()
ActionFacetgetType in interface ActionFacetActionFacet.TYPEpublic String getSource()
ActionFacetgetSource in interface ActionFacetpublic String getName()
NamePropertygetName in interface NamePropertypublic void setName(String name)
NamePropertysetName in interface NamePropertyname - the new namepublic void setType(ActionFacet.TYPE type)
setType in interface ActionFacetpublic void setSource(String source)
ActionFacetsetSource in interface ActionFacetpublic String getOptions()
ActionFacetgetOptions in interface ActionFacetpublic void setOptions(String options)
ActionFacetsetOptions in interface ActionFacetpublic void setCommand(String command)
ActionFacetsetCommand in interface ActionFacetpublic String getCommand()
ActionFacetgetCommand in interface ActionFacetCopyright © 2018. All Rights Reserved.