public abstract class FormProperties extends Object
| Constructor and Description |
|---|
FormProperties(Map<String,Object> parameterMap)
Public constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addProperty(String key,
Object value)
Add property.
|
Map<String,Object> |
getCustomPropertiesMap()
Get custom properties map.
|
long |
getId()
Get task id.
|
String |
getName()
Get name.
|
Object |
getObjectProperty(String key)
Get value property.
|
String |
getProcessor()
Get processor type.
|
String |
getScheduledExpression()
Get scheduled expression.
|
String |
getStringProperty(String key)
Get String value of property.
|
boolean |
isRunning()
Get if the task is running.
|
boolean |
isScheduled()
Get is the task is scheduled in the system.
|
boolean |
isTaskTypeScheduled()
Get if the expression is scheduled.
|
void |
setId(long id)
Set task id.
|
void |
setRunning(boolean running)
Set running state.
|
void |
setScheduled(boolean scheduled)
Set scheduled state.
|
public long getId()
public String getName()
public void setId(long id)
id - task idpublic Map<String,Object> getCustomPropertiesMap()
protected void addProperty(String key, Object value)
key - property keyvalue - property valuepublic String getStringProperty(String key)
key - property keypublic Object getObjectProperty(String key)
key - property keypublic String getScheduledExpression()
public boolean isTaskTypeScheduled()
public String getProcessor()
public boolean isRunning()
public boolean isScheduled()
public void setScheduled(boolean scheduled)
scheduled - scheduledpublic void setRunning(boolean running)
running - runningCopyright © 2021 Pivotal Software, Inc.. All rights reserved.