Class NumericAttribute
- java.lang.Object
-
- org.opennms.netmgt.config.prometheus.NumericAttribute
-
public class NumericAttribute extends Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="filter-exp" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> <attribute name="alias-exp" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> <attribute name="type"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <pattern value="([Cc](ounter|OUNTER)|[Gg](auge|AUGE))"/> </restriction> </simpleType> </attribute> <attribute name="compress-alias" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected StringaliasExpprotected BooleancompressAliasprotected StringfilterExpprotected AttributeTypetype
-
Constructor Summary
Constructors Constructor Description NumericAttribute()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetAliasExp()Gets the value of the aliasExp property.StringgetFilterExp()Gets the value of the filterExp property.AttributeTypegetType()Gets the value of the type property.inthashCode()booleanisCompressAlias()Gets the value of the compressAlias property.voidsetAliasExp(String value)Sets the value of the aliasExp property.voidsetCompressAlias(Boolean value)Sets the value of the compressAlias property.voidsetFilterExp(String value)Sets the value of the filterExp property.voidsetType(AttributeType value)Sets the value of the type property.
-
-
-
Field Detail
-
filterExp
protected String filterExp
-
aliasExp
protected String aliasExp
-
type
protected AttributeType type
-
compressAlias
protected Boolean compressAlias
-
-
Method Detail
-
getFilterExp
public String getFilterExp()
Gets the value of the filterExp property.- Returns:
- possible object is
String
-
setFilterExp
public void setFilterExp(String value)
Sets the value of the filterExp property.- Parameters:
value- allowed object isString
-
getAliasExp
public String getAliasExp()
Gets the value of the aliasExp property.- Returns:
- possible object is
String
-
setAliasExp
public void setAliasExp(String value)
Sets the value of the aliasExp property.- Parameters:
value- allowed object isString
-
getType
public AttributeType getType()
Gets the value of the type property.- Returns:
- possible object is
AttributeType
-
setType
public void setType(AttributeType value)
Sets the value of the type property.- Parameters:
value- allowed object isAttributeType
-
isCompressAlias
public boolean isCompressAlias()
Gets the value of the compressAlias property.- Returns:
- possible object is
Boolean
-
setCompressAlias
public void setCompressAlias(Boolean value)
Sets the value of the compressAlias property.- Parameters:
value- allowed object isBoolean
-
-