public interface ActionFacet extends org.gcube.informationsystem.model.entity.Facet, NameProperty
SoftwareFacet.| Modifier and Type | Interface and Description |
|---|---|
static class |
ActionFacet.TYPE |
static class |
ActionFacet.WHEN |
| Modifier and Type | Field and Description |
|---|---|
static String |
DESCRIPTION |
static String |
NAME |
static String |
TYPE_PROPERTY |
static String |
VERSION |
static String |
WHEN_PROPERTY |
CLASS_PROPERTY, SUPERCLASSES_PROPERTYNAME_PROPERTY| Modifier and Type | Method and Description |
|---|---|
String |
getCommand()
Gets the command to execute.
|
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.
|
ActionFacet.WHEN |
getWhen()
When the action is triggered.
|
void |
setCommand(String command)
Sets the command to execute.
|
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) |
void |
setWhen(ActionFacet.WHEN when) |
getAdditionalProperties, getAdditionalProperty, setAdditionalProperties, setAdditionalPropertygetName, setNamestatic final String NAME
static final String DESCRIPTION
static final String VERSION
static final String TYPE_PROPERTY
static final String WHEN_PROPERTY
ActionFacet.WHEN getWhen()
ActionFacet.WHENvoid setWhen(ActionFacet.WHEN when)
when - ActionFacet.TYPE getType()
ActionFacet.TYPEvoid setType(ActionFacet.TYPE type)
type - String getSource()
void setSource(String source)
source - String getOptions()
void setOptions(String options)
options - void setCommand(String command)
command - String getCommand()
Copyright © 2018. All Rights Reserved.