public class ActionDependencyRule extends Object implements RequirementRule
RequirementRule
which links the CmdLineOption
to the
CmdLineAction
via the CmdLineAction
's name and also specifies
its relationship to the CmdLineAction
(i.e. Required, Optional,
etc...).RequirementRule.Relation
Constructor and Description |
---|
ActionDependencyRule() |
ActionDependencyRule(String actionName,
RequirementRule.Relation relation) |
Modifier and Type | Method and Description |
---|---|
String |
getActionName() |
RequirementRule.Relation |
getRelation() |
RequirementRule.Relation |
getRelation(CmdLineAction action) |
void |
setActionName(String actionName) |
void |
setRelation(RequirementRule.Relation relation) |
String |
toString() |
public ActionDependencyRule()
public ActionDependencyRule(String actionName, RequirementRule.Relation relation)
public String getActionName()
public void setActionName(String actionName)
public RequirementRule.Relation getRelation()
public void setRelation(RequirementRule.Relation relation)
public RequirementRule.Relation getRelation(CmdLineAction action)
getRelation
in interface RequirementRule
Copyright © 1999–2017 Apache OODT. All rights reserved.