@TypeMetadata(name="ActionFacet",
description="This facet is expected to capture information on which action perform while a resource is added or removed from a context.",
version="1.0.0")
@Change(version="1.0.0",
description="First Version")
public interface ActionFacet
extends org.gcube.informationsystem.model.reference.entities.Facet, Named
| Modifier and Type | Field and Description |
|---|---|
static String |
NAME |
static String |
TYPE_PROPERTY |
static String |
WHEN_PROPERTY |
HEADER_PROPERTYCLASS_PROPERTY, DATETIME_PATTERN, 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.
|
EnumStringProperty |
getType()
Type of action.
|
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(EnumStringProperty type) |
getAdditionalProperties, getAdditionalProperty, setAdditionalProperties, setAdditionalPropertygetHeaderstatic final String NAME
static final String TYPE_PROPERTY
static final String WHEN_PROPERTY
@ISProperty(name="type",
description="Type of action",
mandatory=true,
nullable=false)
EnumStringProperty getType()
EnumStringPropertyvoid setType(EnumStringProperty type)
@ISProperty(description="From where to download the action.",
mandatory=false,
nullable=false)
String getSource()
void setSource(String source)
source - @ISProperty(description="The options/params to use when executing the action.",
mandatory=true,
nullable=false)
String getOptions()
void setOptions(String options)
options - @ISProperty(description="The command to execute.") String getCommand()
void setCommand(String command)
command - Copyright © 2022. All Rights Reserved.