Brooklyn

brooklyn.rest.domain
[Java] Class EntityConfigSummary

java.lang.Object
  brooklyn.rest.domain.ConfigSummary
      brooklyn.rest.domain.EntityConfigSummary

public class EntityConfigSummary
extends ConfigSummary

Constructor Summary
EntityConfigSummary(java.lang.String name, java.lang.String type, java.lang.String description, java.lang.Object defaultValue, boolean reconfigurable, java.lang.String label, java.lang.Double priority, java.util.Map links)

protected EntityConfigSummary(ConfigKey config, java.lang.String label, java.lang.Double priority, java.util.Map links)

 
Method Summary
static EntityConfigSummary forCatalog(ConfigKey config)

generates a representation for a given config key, with no label or links

static EntityConfigSummary forCatalog(ConfigKey config, java.lang.reflect.Field configKeyField)

generates a representation for a given config key, with no links, but label from this field

static EntityConfigSummary fromEntity(EntityLocal entity, ConfigKey config)

generates a representation for a given config key, with label inferred from annoation in the entity class, and links pointing to the entity and the applicaiton

java.util.Map getLinks()

java.lang.String toString()

 
Methods inherited from class ConfigSummary
equals, getDefaultValue, getDescription, getLabel, getLinks, getName, getPriority, getType, hashCode, isReconfigurable, toString
 

Constructor Detail

EntityConfigSummary

public EntityConfigSummary(@JsonProperty("name") java.lang.String name, @JsonProperty("type") java.lang.String type, @JsonProperty("description") java.lang.String description, @JsonProperty("defaultValue") java.lang.Object defaultValue, @JsonProperty("reconfigurable") boolean reconfigurable, @JsonProperty("label") java.lang.String label, @JsonProperty("priority") java.lang.Double priority, @JsonProperty("links") java.util.Map links)


EntityConfigSummary

protected EntityConfigSummary(ConfigKey config, java.lang.String label, java.lang.Double priority, java.util.Map links)


 
Method Detail

forCatalog

public static EntityConfigSummary forCatalog(ConfigKey config)
generates a representation for a given config key, with no label or links


forCatalog

public static EntityConfigSummary forCatalog(ConfigKey config, java.lang.reflect.Field configKeyField)
generates a representation for a given config key, with no links, but label from this field


fromEntity

public static EntityConfigSummary fromEntity(EntityLocal entity, ConfigKey config)
generates a representation for a given config key, with label inferred from annoation in the entity class, and links pointing to the entity and the applicaiton


getLinks

@Override
public java.util.Map getLinks()


toString

@Override
public java.lang.String toString()


 

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