All Downloads are FREE. Search and download functionalities are using the official Maven repository.

brooklyn.location.LocationDefinition Maven / Gradle / Ivy

There is a newer version: 0.7.0-M1
Show newest version
package brooklyn.location;

import java.util.Map;

import brooklyn.management.ManagementContext;

/**
 * Defines a location, where the {@link #getSpec()} is like a serialized representation
 * of the location so that Brooklyn can create a corresponding location.
 * 
 * Examples include a complete description (e.g. giving a list of machines in a pool), or
 * a name that matches a named location defined in the brooklyn poperties.
 * 
 * Users are not expected to implement this, or to use the interface directly. See
 * {@link LocationRegistry#resolve(String)} and {@link ManagementContext#getLocationRegistry()}.
 */
public interface LocationDefinition {

    public String getId();
    public String getName();
    public String getSpec();
    public Map getConfig();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy