| Package | Description |
|---|---|
| org.lsst.ccs |
This package deals with core classes for subsystems.
|
| Modifier and Type | Method and Description |
|---|---|
protected CommandHelper |
Agent.createHelper()
This method can be overridden by subclasses of Agent to create a subclass
of CommandHelper to be returned by
Agent.helper() |
CommandHelper |
CommandHelper.duration(Duration duration)
Set the duration for the command
|
CommandHelper |
CommandHelper.duration(Supplier<Duration> durationSupplier)
Set the duration for the command
|
CommandHelper |
CommandHelper.enterFaultOnException(boolean enterFault)
Controls whether exceptions should be thrown back to caller, or whether
the should cause the subsystem to entry fault state
|
CommandHelper |
Agent.helper()
A convenience method for creating a new CommandHelper
|
CommandHelper |
CommandHelper.precondition(boolean ok)
A simple precondition.
|
CommandHelper |
CommandHelper.precondition(boolean ok,
String reason,
Object... args)
A precondition with a reason.
|
CommandHelper |
CommandHelper.precondition(boolean ok,
String reason,
Supplier<Object>... args)
A precondition with a reason and delayed evaluation of provided arguments.
|
CommandHelper |
CommandHelper.precondition(Enum... states)
A precondition with one of more states.
|
Copyright © 2023 LSST. All rights reserved.