public class TaskProperties
extends java.lang.Object
Constructor and Description |
---|
TaskProperties() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getExecutor()
Getter for executor.
|
java.lang.String |
getMethod()
Getter for method name.
|
java.lang.Integer |
getTimeout()
Getter for timeout.
|
boolean |
isNameMatch(java.lang.String taskName)
Determine if this TaskProperties' name matches the given name.
|
void |
setExecutor(java.lang.String executor)
Setter for executor.
|
void |
setMethod(java.lang.String method)
Setter for method name.
|
void |
setTimeout(java.lang.Integer timeout)
Setter for timeout.
|
public java.lang.String getMethod()
public void setMethod(java.lang.String method)
method
- the method namepublic java.lang.String getExecutor()
public void setExecutor(java.lang.String executor)
executor
- the executorpublic java.lang.Integer getTimeout()
public void setTimeout(java.lang.Integer timeout)
timeout
- the timeoutpublic boolean isNameMatch(java.lang.String taskName)
taskName
- the name to check