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