org.rhq.enterprise.server.sync
Enum SynchronizedEntity
java.lang.Object
java.lang.Enum<SynchronizedEntity>
org.rhq.enterprise.server.sync.SynchronizedEntity
- All Implemented Interfaces:
- Serializable, Comparable<SynchronizedEntity>
public enum SynchronizedEntity
- extends Enum<SynchronizedEntity>
The enum of all possible synchronized entities.
This is used in the SynchronizerFactory.getAllSynchronizers() to provide
the synchronizers to the rest of the config sync machinery.
- Author:
- Lukas Krejci
METRIC_TEMPLATE
public static final SynchronizedEntity METRIC_TEMPLATE
SYSTEM_SETTINGS
public static final SynchronizedEntity SYSTEM_SETTINGS
values
public static SynchronizedEntity[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (SynchronizedEntity c : SynchronizedEntity.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static SynchronizedEntity valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
getSynchronizer
public abstract Synchronizer<?,?> getSynchronizer()
- Returns the synchronizer for given subsystem.
- Returns:
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.