public final class Work extends Object
| Constructor and Description |
|---|
Work(BatchDescription declaring,
WorkDescription description,
List<Work> dependencies)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
BatchDescription |
getDeclaring()
Returns the batch which declaring this work.
|
List<Work> |
getDependencies()
Returns the dependencies of this work.
|
WorkDescription |
getDescription()
Returns the description of this work.
|
String |
toString() |
public Work(BatchDescription declaring, WorkDescription description, List<Work> dependencies)
declaring - the declaring batch classdescription - the target description of this workdependencies - the dependencies of this work in the batchIllegalArgumentException - if some parameters are nullpublic BatchDescription getDeclaring()
public WorkDescription getDescription()
public List<Work> getDependencies()
Copyright © 2011–2018 Asakusa Framework Team. All rights reserved.