public class RestrictionDescriptor extends AbstractDescriptor implements Validatable
Modifier and Type | Field and Description |
---|---|
protected List |
conditions |
Constructor and Description |
---|
RestrictionDescriptor() |
RestrictionDescriptor(Element restriction) |
Modifier and Type | Method and Description |
---|---|
List |
getConditions()
Deprecated.
A restrict-to can only have one conditions element,
please use
getConditionsDescriptor() instead. |
ConditionsDescriptor |
getConditionsDescriptor() |
protected void |
init(Element restriction) |
void |
setConditionsDescriptor(ConditionsDescriptor descriptor) |
void |
validate()
Validate this element, and propagate validation to all contained sub-elements.
|
void |
writeXML(PrintWriter out,
int indent) |
asXML, getEntityId, getId, getParent, hasId, setEntityId, setId, setParent
protected List conditions
public RestrictionDescriptor()
public RestrictionDescriptor(Element restriction)
public List getConditions()
getConditionsDescriptor()
instead.public void setConditionsDescriptor(ConditionsDescriptor descriptor)
public ConditionsDescriptor getConditionsDescriptor()
public void validate() throws InvalidWorkflowDescriptorException
Validatable
validate
in interface Validatable
InvalidWorkflowDescriptorException
WorkflowLoader.load(java.io.InputStream)
public void writeXML(PrintWriter out, int indent)
protected void init(Element restriction)
Copyright © 2021 catworkx GmbH. All rights reserved.