public class SystemProperties
extends java.lang.Object
Constructor and Description |
---|
SystemProperties() |
Modifier and Type | Method and Description |
---|---|
void |
addTask(TaskProperties task)
Convenience method to add properties for a single task.
|
java.lang.String |
getDefaultExecutor()
Getter for the default executor.
|
java.lang.Integer |
getDefaultTimeout()
Getter for the default timeout.
|
java.lang.String |
getName()
Getter for name.
|
TaskProperties |
getTaskPropertiesForName(java.lang.String taskName)
Retrieve the properties for a named task.
|
java.util.List<TaskProperties> |
getTasks()
Getter for the tasks.
|
boolean |
nameMatches(java.lang.String systemName)
Check if this
SystemProperties name matches the given name. |
void |
setDefaultExecutor(java.lang.String defaultExecutor)
Setter for the default executor.
|
void |
setDefaultTimeout(java.lang.Integer defaultTimeout)
Setter for the default timeout.
|
void |
setName(java.lang.String name)
Setter for the name.
|
void |
setTasks(java.util.List<TaskProperties> tasks)
Setter for the tasks.
|
public java.lang.String getName()
public void setName(java.lang.String name)
name
- the namepublic java.lang.String getDefaultExecutor()
public void setDefaultExecutor(java.lang.String defaultExecutor)
defaultExecutor
- the default executorpublic java.lang.Integer getDefaultTimeout()
public void setDefaultTimeout(java.lang.Integer defaultTimeout)
defaultTimeout
- the default timeoutpublic java.util.List<TaskProperties> getTasks()
public void setTasks(java.util.List<TaskProperties> tasks)
tasks
- the taskspublic void addTask(TaskProperties task)
task
- the taskpublic TaskProperties getTaskPropertiesForName(java.lang.String taskName)
taskName
- the task namepublic boolean nameMatches(java.lang.String systemName)
SystemProperties
name matches the given name.systemName
- the name to check