IltSettings.SetValue
. The property is identified as
the name of the secondary state that is being configured and the
type of configuration that is being performed. For example:
IltSettings.SetValue("SNMP.Interface.InOctets.Type", IltDecorationType.Chart)
defines that the state input is graphically represented as a chart.
IltSettings.SetValue("SNMP.Interface.InOctets.Gauge", new IltGaugeMapping(image1, image))
defines the new gauge configuration for the state.
IltSettings.SetValue("SNMP.Interface.InOctets.Chart", new IltChartMapping(image1, image2))
defines the new chart configuration for the state.
IltSettings.SetValue("SNMP.Interface.InOctets.Counter", new IltCounterMapping())
defines the new counter configuration for the state.
@Deprecated public class IltSNMPDefaultMapper extends ilog.tgo.mapper.state.IltStateSystemMapper
IltStateSystemMapper
for
the IltSNMP
state system.Constructor and Description |
---|
IltSNMPDefaultMapper()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static IltBaseStyle |
GetBaseStyle(IltSNMP.State state)
Deprecated.
Base style and base style mapping have been replaced by a
CSS configuration. If you are interested in configuring your object
according to primary state information, use a CSS instead. The
following CSS extract illustrates this kind of customization:
object."ilog.tgo.model.IltObject"["objectState.SNMP.State"=Up] { background: yellow; } |
static IltChartMapping |
GetSecStateChartMapping(IltState state)
Deprecated.
Use
IltSettings.GetValue instead. For example:
IltSettings.GetValue("SNMP.IP.InReceives.Chart") . |
static IltCounterMapping |
GetSecStateCounterMapping(IltState state)
Deprecated.
Use
IltSettings.GetValue instead. For example:
IltSettings.GetValue("SNMP.IP.InReceives.Counter") . |
static IltDecorationType |
GetSecStateDecorationType(IltState state)
Deprecated.
Use
IltSettings.GetValue instead. For example:
IltSettings.GetValue("SNMP.IP.InReceives.Type") . |
static IltGaugeMapping |
GetSecStateGaugeMapping(IltState state)
Deprecated.
Use
IltSettings.GetValue instead. For example:
IltSettings.GetValue("SNMP.IP.InReceives.Gauge") . |
static IltChartMapping |
SetSecStateChartMapping(IltState state,
IltChartMapping mapping)
Deprecated.
Use
IltSettings.SetValue instead. For example:
IltSettings.SetValue("SNMP.Interface.InOctets.Type", IltDecorationType.Chart) and
IltSettings.SetValue("SNMP.Interface.InOctets.Chart", mapping) . |
static IltCounterMapping |
SetSecStateCounterMapping(IltState state,
IltCounterMapping mapping)
Deprecated.
Use
IltSettings.SetValue instead. For example:
IltSettings.SetValue("SNMP.Interface.InOctets.Type", IltDecorationType.Counter) and
IltSettings.SetValue("SNMP.Interface.InOctets.Counter", mapping) . |
static IltDecorationType |
SetSecStateDecorationType(IltState state,
IltDecorationType type)
Deprecated.
Use
IltSettings.SetValue instead. For example:
IltSettings.SetValue("SNMP.Interface.InOctets.Type", IltDecorationType.Counter) . |
static IltGaugeMapping |
SetSecStateGaugeMapping(IltState state,
IltGaugeMapping mapping)
Deprecated.
Use
IltSettings.SetValue instead. For
example:
IltSettings.SetValue("SNMP.Interface.InOctets.Type", IltDecorationType.Gauge)
and IltSettings.SetValue("SNMP.Interface.InOctets.Gauge", mapping) . |
add, createPrimaryStateMapper, createSecondaryStateMapper, get, get, mapState, remove, setPrimaryStateMapperFactory, setPrimaryStateMapping, setSecondaryStateMapperFactory, setSecondaryStateMapping, setSecondaryStateMapping, setSecondaryStateMapping, setSecondaryStateMapping
@Deprecated public static IltBaseStyle GetBaseStyle(IltSNMP.State state)
object."ilog.tgo.model.IltObject"["objectState.SNMP.State"=Up] { background: yellow; }
@Deprecated public static IltGaugeMapping SetSecStateGaugeMapping(IltState state, IltGaugeMapping mapping)
IltSettings.SetValue
instead. For
example:
IltSettings.SetValue("SNMP.Interface.InOctets.Type", IltDecorationType.Gauge)
and IltSettings.SetValue("SNMP.Interface.InOctets.Gauge", mapping)
.This method also defines that this state is represented as a gauge.
state
- The SNMP secondary state that is mapped to a gauge.mapping
- The parameters used to create the gauge decoration.IltGaugeMapping
,
SetSecStateDecorationType(ilog.tgo.model.IltState, ilog.tgo.graphic.IltDecorationType)
,
IltObjectState.set(IltState, Object)
@Deprecated public static IltGaugeMapping GetSecStateGaugeMapping(IltState state)
IltSettings.GetValue
instead. For example:
IltSettings.GetValue("SNMP.IP.InReceives.Gauge")
.state
- The SNMP secondary state that is mapped to a gauge.IltGaugeMapping
,
GetSecStateDecorationType(ilog.tgo.model.IltState)
@Deprecated public static IltChartMapping SetSecStateChartMapping(IltState state, IltChartMapping mapping)
IltSettings.SetValue
instead. For example:
IltSettings.SetValue("SNMP.Interface.InOctets.Type", IltDecorationType.Chart)
and
IltSettings.SetValue("SNMP.Interface.InOctets.Chart", mapping)
.This method also defines that this state is represented as a chart.
state
- The SNMP secondary state that is mapped to a chart.mapping
- The parameters used to create the chart decoration.IltChartMapping
,
SetSecStateDecorationType(ilog.tgo.model.IltState, ilog.tgo.graphic.IltDecorationType)
@Deprecated public static IltChartMapping GetSecStateChartMapping(IltState state)
IltSettings.GetValue
instead. For example:
IltSettings.GetValue("SNMP.IP.InReceives.Chart")
.state
- The SNMP secondary state which is mapped to a chart.IltChartMapping
,
GetSecStateDecorationType(ilog.tgo.model.IltState)
@Deprecated public static IltCounterMapping SetSecStateCounterMapping(IltState state, IltCounterMapping mapping)
IltSettings.SetValue
instead. For example:
IltSettings.SetValue("SNMP.Interface.InOctets.Type", IltDecorationType.Counter)
and
IltSettings.SetValue("SNMP.Interface.InOctets.Counter", mapping)
.This method also defines that this state is represented as a counter.
state
- The SNMP secondary state that is mapped to a counter.mapping
- The parameters used to create the counter decoration.IltCounterMapping
,
SetSecStateDecorationType(ilog.tgo.model.IltState, ilog.tgo.graphic.IltDecorationType)
@Deprecated public static IltCounterMapping GetSecStateCounterMapping(IltState state)
IltSettings.GetValue
instead. For example:
IltSettings.GetValue("SNMP.IP.InReceives.Counter")
.state
- The SNMP secondary state which is mapped to a counter.IltCounterMapping
,
GetSecStateDecorationType(ilog.tgo.model.IltState)
@Deprecated public static IltDecorationType SetSecStateDecorationType(IltState state, IltDecorationType type)
IltSettings.SetValue
instead. For example:
IltSettings.SetValue("SNMP.Interface.InOctets.Type", IltDecorationType.Counter)
.state
- The SNMP secondary state.type
- The type of decoration that is used to represent the
state.IltDecorationType
@Deprecated public static IltDecorationType GetSecStateDecorationType(IltState state)
IltSettings.GetValue
instead. For example:
IltSettings.GetValue("SNMP.IP.InReceives.Type")
.state
- The SNMP secondary state.IltDecorationType
,
IltObjectState.set(IltState, Object)
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.