public class IltSAN extends Object
This class provides the state system used to model secondary states applicable to storage area networks.
Any secondary state in IltSAN
can be used in any other state
system.
Some generic secondary states are defined in the class
IltSAN.SecState
and have a default graphic representation.
New secondary states can be created using IltSAN.NewSecState
,
for instance:
IltSAN.SecState state = IltSAN.NewSecState("SAN.SecState.DiskSpace", "Measures the amount of disk space currently in use.");
In order to have this state represented in the object graphic
representation, you need to associate a configuration so that it can be
represented as a gauge, a chart or a counter. This configuration is defined
through the method IltSettings.SetValue
, as follows:
IltSettings.SetValue("SAN.SecState.DiskSpace.Gauge", new IltGaugeMapping(image1, image2)); IltSettings.SetValue("SAN.SecState.DiskSpace.Chart", new IltChartMapping(chart1, chart2)); IltSettings.SetValue("SAN.SecState.DiskSpace.Counter", new IltCounterMapping()); IltSettings.SetValue("SAN.SecState.DiskSpace.Type", IltDecorationType.Gauge);
You can also use these methods to modify the configuration for an existing state, for instance:
IltSettings.SetValue("SAN.SecState.Allocated.Type", IltDecorationType.Chart);
Modifier and Type | Class and Description |
---|---|
static class |
IltSAN.SecState
Any secondary state in the
IltSAN state system is an instance
of this class. |
Modifier | Constructor and Description |
---|---|
protected |
IltSAN()
The constructor is not meant to be called.
|
Modifier and Type | Method and Description |
---|---|
static void |
ForceInit(ilog.tgo.util.internal.IltForceClassInit object)
For IltSystem.Init
|
static IltSAN.SecState |
NewSecState(String name,
String description)
Creates a new instance of
IltSAN.SecState . |
static IltStateSystem |
StateSystem()
Returns the only instance of IltSAN state system.
|
protected IltSAN()
public static IltStateSystem StateSystem()
public static IltSAN.SecState NewSecState(String name, String description)
Creates a new instance of IltSAN.SecState
.
Once created, this instance can be associated with a graphic
representation. A SAN state can be represented by a gauge, a chart or a
counter using the appropriate mapping.
This configuration is defined through the method
IltSettings.SetValue
, as follows:
IltSAN.SecState state = IltSAN.NewSecState("SAN.SecState.DiskSpace", "Measures the amount of disk space currently in use."); IltSettings.SetValue("SAN.SecState.DiskSpace.Gauge", new IltGaugeMapping(image1, image2)); IltSettings.SetValue("SAN.SecState.DiskSpace.Chart", new IltChartMapping(chart1, chart2)); IltSettings.SetValue("SAN.SecState.DiskSpace.Counter", new IltCounterMapping()); IltSettings.SetValue("SAN.SecState.DiskSpace.Type", IltDecorationType.Gauge);
IltSAN.SecState
.IltSettings.SetValue(java.lang.Object, java.lang.Object)
,
IltObjectState.set(IltState, Object)
public static void ForceInit(ilog.tgo.util.internal.IltForceClassInit object)
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.