public class TestPersistable extends Object implements Persistable
Persistable.Descriptor| Constructor and Description |
|---|
TestPersistable(String name,
int level,
double value,
org.lsst.ccs.bus.states.AlertState alert,
List<String> channels,
List<Integer> numbers,
boolean isTrue) |
| Modifier and Type | Method and Description |
|---|---|
Persistable.Descriptor |
getDescriptor()
Returns a reference to the descriptor maintained by this component.
|
static TestPersistable |
statesOnly(int level) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrestore, restore, save@Create(category="test", name="Test Constructor", path="Built-In/Test/Constructor", description="Factory that creates a <i>Persistable</i> by calling TestPersistable constructor.") public TestPersistable(@Par(desc="Name.") String name, @Par(def="2",desc="Integer level.") int level, @Par(desc="Some double value with a really long description that a well-bahaived GUI will have to split into multiple lines. No HTML markup in this description.") double value, @Par(desc="Enum of alert states.") org.lsst.ccs.bus.states.AlertState alert, @Par(desc="List of channels, line break after this</br>, no HTML tag.") List<String> channels, @Par(desc="<html>List integers, line break after this<br>, HTML tag in front.") List<Integer> numbers, @Par(desc="If true, the subsystem name is used as a page name.") boolean isTrue)
@Create(category="test", name="Test Method", path="Built-In/Test/Static Method", description="Factory that creates a <i>Persistable</i> by calling TestPersistable static method.") public static TestPersistable statesOnly(@Par(desc="Integer level.") int level)
public Persistable.Descriptor getDescriptor()
Persistablenull, and
that any properties set on the descriptor returned by this method are reflected by
descriptors subsequently returned by save(), unless modified between the two calls.getDescriptor in interface PersistableCopyright © 2019 LSST. All rights reserved.