public class JobFlowWorkDescription extends WorkDescription
Constructor and Description |
---|
JobFlowWorkDescription(Class<? extends FlowDescription> flowClass)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Class<? extends FlowDescription> |
getFlowClass()
Returns the jobflow class.
|
String |
getName()
Returns the identifier of this work.
|
int |
hashCode() |
String |
toString() |
isValidName
public JobFlowWorkDescription(Class<? extends FlowDescription> flowClass)
flowClass
- the jobflow classIllegalArgumentException
- if the jobflowClass
does not represent a jobflowpublic String getName()
WorkDescription
The ID must be identical in the batch, and its name can be following format:
Name :
NameStart NamePart*
NameStart: one of
A-Z
a-z
_
NamePart: one of
NameStart
0-9
getName
in class WorkDescription
public Class<? extends FlowDescription> getFlowClass()
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.