brooklyn.policy
Interface PolicyType

All Superinterfaces:
Serializable

@Beta
public interface PolicyType
extends Serializable

Gives type information for a Policy. It is immutable. For policies that can support config keys etc being added on-the-fly, then this PolicyType will be a snapshot and subsequent snapshots will include the changes.

Since:
0.5

Method Summary
 brooklyn.config.ConfigKey<?> getConfigKey(String name)
          The ConfigKey with the given name, or null if not found.
 Set<brooklyn.config.ConfigKey<?>> getConfigKeys()
          ConfigKeys available on this policy.
 String getName()
          The type name of this policy (normally the fully qualified class name).
 

Method Detail

getName

String getName()
The type name of this policy (normally the fully qualified class name).


getConfigKeys

Set<brooklyn.config.ConfigKey<?>> getConfigKeys()
ConfigKeys available on this policy.


getConfigKey

brooklyn.config.ConfigKey<?> getConfigKey(String name)
The ConfigKey with the given name, or null if not found.



Copyright © 2013. All Rights Reserved.