Class ResultActionInfo
java.lang.Object
com.inet.taskplanner.server.api.common.AbstractInfo
com.inet.taskplanner.server.api.action.ResultActionInfo
This holds information on how a
ResultAction is to be displayed in the web GUI.- Since:
- taskplanner 3.0
-
Constructor Summary
ConstructorsConstructorDescriptionResultActionInfo(String extensionName, String displayName, String description, URL iconURL, String helpKey) Creates a new ResultActionInfo instance without fields.ResultActionInfo(String extensionName, String displayName, String description, URL iconURL, String helpKey, List<Field> fields) Creates a new ResultActionInfo instance with fields.ResultActionInfo(String extensionName, String displayName, String description, URL iconURL, String helpKey, List<Field> fields, List<String> placeholderKeys) Creates a new ResultActionInfo instance with fields. -
Method Summary
Modifier and TypeMethodDescriptionReturns a list of placeholder keys (without placeholder brackets) that are supported by this action.Methods inherited from class AbstractInfo
getDescription, getDisplayName, getExtensionName, getFields, getHelpKey, getIconURL
-
Constructor Details
-
ResultActionInfo
public ResultActionInfo(String extensionName, String displayName, String description, URL iconURL, String helpKey, List<Field> fields, List<String> placeholderKeys) Creates a new ResultActionInfo instance with fields.- Parameters:
extensionName- the unique extension name; there must be aResultActionFactoryfor this extension name.displayName- localized name of the result action to showdescription- localized description of the result action to showiconURL- URL to the icon of the result actionhelpKey- key of the help page to open for this result actionfields- list of fields that represent the editable properties of the result actionplaceholderKeys- a list of placeholders (without placeholder brackets) supported by this action. Allows the definition of custom placeholders that will only be used by this action.- Since:
- taskplanner 3.0
-
ResultActionInfo
public ResultActionInfo(String extensionName, String displayName, String description, URL iconURL, String helpKey, List<Field> fields) Creates a new ResultActionInfo instance with fields.- Parameters:
extensionName- the unique extension name; there must be aResultActionFactoryfor this extension name.displayName- localized name of the result action to showdescription- localized description of the result action to showiconURL- URL to the icon of the result actionhelpKey- key of the help page to open for this result actionfields- list of fields that represent the editable properties of the result action- Since:
- taskplanner 3.0
-
ResultActionInfo
public ResultActionInfo(String extensionName, String displayName, String description, URL iconURL, String helpKey) Creates a new ResultActionInfo instance without fields.- Parameters:
extensionName- the unique extension name; there must be aResultActionFactoryfor this extension name.displayName- localized name of the result action to showdescription- localized description of the result action to showiconURL- URL to the icon of the result actionhelpKey- key of the help page to open for this result action- Since:
- taskplanner 3.0
-
-
Method Details
-
getPlaceholderKeys
-