Brooklyn

brooklyn.policy
[Java] Interface PolicyType


@Beta
public interface PolicyType
extends java.io.Serializable

Gives type information for an 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
ConfigKey getConfigKey(java.lang.String name)

The ConfigKey with the given name, or null if not found.

java.util.Set getConfigKeys()

ConfigKeys available on this policy.

java.lang.String getName()

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

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Method Detail

getConfigKey

public ConfigKey getConfigKey(java.lang.String name)
The ConfigKey with the given name, or null if not found.


getConfigKeys

public java.util.Set getConfigKeys()
ConfigKeys available on this policy.


getName

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


 

Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.