public final class TrialVeto
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected Constraint |
_constraint |
protected java.lang.String |
_reason |
protected Trial |
_trial |
protected java.lang.Object |
_userInfo |
Constructor and Description |
---|
TrialVeto(Trial trial,
Constraint constraint)
Constructor.
|
TrialVeto(Trial trial,
Constraint constraint,
java.lang.String reason)
Primary Constructor.
|
TrialVeto(Trial trial,
Constraint constraint,
java.lang.String reason,
java.lang.Object userInfo)
Primary Constructor.
|
Modifier and Type | Method and Description |
---|---|
Constraint |
getConstraint()
Get the constaint.
|
java.lang.String |
getReason()
Get the reason for the veto
|
Trial |
getTrial()
Get the trial.
|
TrialPoint |
getTrialPoint()
Get the trial point to be tested.
|
java.lang.Object |
getUserInfo()
Get the user info
|
protected final java.lang.String _reason
protected final java.lang.Object _userInfo
protected final Trial _trial
protected final Constraint _constraint
public TrialVeto(Trial trial, Constraint constraint, java.lang.String reason, java.lang.Object userInfo)
trial
- The trial to veto.constraint
- The constraint to base the veto on.reason
- describing why the veto was madeuserInfo
- supplying additional user inforamtion to associate with the vetopublic TrialVeto(Trial trial, Constraint constraint, java.lang.String reason)
trial
- The trial to veto.constraint
- The constraint to base the veto on.reason
- describing why the veto was madepublic TrialVeto(Trial trial, Constraint constraint)
trial
- The trial to veto.constraint
- The constraint to base the veto on.public TrialPoint getTrialPoint()
public Trial getTrial()
public Constraint getConstraint()
public java.lang.String getReason()
public java.lang.Object getUserInfo()