public class

DataSourceType

extends Object
java.lang.Object
   ↳ org.rrd4j.core.jrrd.DataSourceType

Class Overview

Class DataSourceType

Summary

Constants
DataSourceType ABSOLUTE Field ABSOLUTE
DataSourceType COUNTER Field COUNTER
DataSourceType DERIVE Field DERIVE
DataSourceType GAUGE Field GAUGE
Public Methods
boolean equals(Object obj)
Compares this object against the specified object.
static DataSourceType get(String s)
Returns a DataSourceType with the given name.
String toString()
Returns a string representation of this object.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final DataSourceType ABSOLUTE

Field ABSOLUTE

public static final DataSourceType COUNTER

Field COUNTER

public static final DataSourceType DERIVE

Field DERIVE

public static final DataSourceType GAUGE

Field GAUGE

Public Methods

public boolean equals (Object obj)

Compares this object against the specified object.

Returns
  • true if the objects are the same, false otherwise.

public static DataSourceType get (String s)

Returns a DataSourceType with the given name.

Parameters
s name of the DataSourceType required.
Returns
  • a DataSourceType with the given name.

public String toString ()

Returns a string representation of this object.

Returns
  • a string representation of this object.