Package csw.params.commands
Interface CommandIssue
- All Known Implementing Classes:
CommandIssue.AssemblyBusyIssue,CommandIssue.HCDBusyIssue,CommandIssue.IdNotAvailableIssue,CommandIssue.MissingKeyIssue,CommandIssue.OtherIssue,CommandIssue.ParameterValueOutOfRangeIssue,CommandIssue.RequiredAssemblyUnavailableIssue,CommandIssue.RequiredHCDUnavailableIssue,CommandIssue.RequiredSequencerUnavailableIssue,CommandIssue.RequiredServiceUnavailableIssue,CommandIssue.UnresolvedLocationsIssue,CommandIssue.UnsupportedCommandInStateIssue,CommandIssue.UnsupportedCommandIssue,CommandIssue.WrongCommandTypeIssue,CommandIssue.WrongInternalStateIssue,CommandIssue.WrongNumberOfParametersIssue,CommandIssue.WrongParameterTypeIssue,CommandIssue.WrongPrefixIssue,CommandIssue.WrongUnitsIssue
public interface CommandIssue
Describes a command issue with appropriate reason for validation failure
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classReturned when an Assembly receives a command and one is already executingstatic classstatic final classA required HCD is busy and cannot be usedstatic classstatic final classReturned when a CommandResponse associated with runId is not availablestatic classstatic final classReturned when a command is missing a required key/parameterstatic classstatic final classReturned when some other issue occurred apart from those already definedstatic classstatic final classParameter of a command is out of rangestatic classstatic final classA required Assembly is not availablestatic classstatic final classA required HCD is not availablestatic classstatic final classA required Sequencer is not availablestatic classstatic final classA required service is not availablestatic classstatic final classReturned when some required location is not availablestatic classstatic final classA command is unsupported in the current statestatic classstatic final classA command is unsupported by componentstatic classstatic final classReturned when some given command type is not expectedstatic classstatic final classThe component is in the wrong internal state to handle a commandstatic classstatic final classReturned when a command does not have the correct number of parametersstatic classstatic final classReturned when the parameter for a key is not the correct type (i.e.static classstatic final classReturned when an Assembly receives a configuration with a Prefix that it doesn't supportstatic classstatic final classReturned when a parameter value does not have the correct unitsstatic class -
Method Summary
-
Method Details
-
reason
String reason()A method to access the reason of command issue- Returns:
- the reason for a command issue
-