Fixed Javadoc

This commit is contained in:
Luca Frosini 2020-12-23 14:32:02 +01:00
parent 1e8db48896
commit 0735d06c0d
1 changed files with 13 additions and 8 deletions

View File

@ -36,16 +36,18 @@ public interface ActionFacet extends Facet, Named {
* Type of action.
* @return an instance of {@link EnumStringProperty}
*/
@ISProperty(name=TYPE_PROPERTY, mandatory=true, nullable=false)
@ISProperty(name=TYPE_PROPERTY, description = "Type of action", mandatory=true, nullable=false)
public EnumStringProperty getType();
public void setType(EnumStringProperty type);
/**
* From where to download the action.
* A remote source used by the command. Could be the endpoint of a service, the location of a
* remote ansible playbook, etc.
* @return URL or Endpoint
*/
@ISProperty(mandatory=false, nullable=false)
@ISProperty(description = "From where to download the action.", mandatory=false, nullable=false)
public String getSource();
/**
@ -59,7 +61,7 @@ public interface ActionFacet extends Facet, Named {
* The options/params to use when executing the action.
* @return the command to execute to lauch the action
*/
@ISProperty(mandatory=true, nullable=false)
@ISProperty(description = "The options/params to use when executing the action.", mandatory=true, nullable=false)
public String getOptions();
/**
@ -68,15 +70,18 @@ public interface ActionFacet extends Facet, Named {
*/
public void setOptions(String options);
/**
* Gets the command to execute.
* @return the command
*/
@ISProperty(description = "The command to execute.")
public String getCommand();
/**
* Sets the command to execute.
* @param command
*/
public void setCommand(String command);
/**
* Gets the command to execute.
* @return the command
*/
public String getCommand();
}