public class DslComponent extends BrooklynDslDeferredSupplier<Entity>
Modifier and Type | Class and Description |
---|---|
static class |
DslComponent.Scope |
Constructor and Description |
---|
DslComponent(DslComponent.Scope scope,
java.lang.String componentId) |
DslComponent(DslComponent scopeComponent,
DslComponent.Scope scope,
java.lang.String componentId) |
DslComponent(java.lang.String componentId) |
Modifier and Type | Method and Description |
---|---|
DslComponent |
ancestor(java.lang.String scopeOrId) |
BrooklynDslDeferredSupplier<?> |
attributeWhenReady(java.lang.String sensorName) |
DslComponent |
child(java.lang.String scopeOrId) |
DslComponent |
component(java.lang.String scopeOrId)
Deprecated.
|
DslComponent |
component(java.lang.String scope,
java.lang.String id) |
BrooklynDslDeferredSupplier<?> |
config(java.lang.String keyName) |
DslComponent |
descendant(java.lang.String scopeOrId) |
DslComponent |
entity(java.lang.String scopeOrId) |
Task<Entity> |
newTask() |
DslComponent |
parent() |
DslComponent |
sibling(java.lang.String scopeOrId) |
java.lang.String |
toString() |
get
public DslComponent(java.lang.String componentId)
public DslComponent(DslComponent.Scope scope, java.lang.String componentId)
public DslComponent(DslComponent scopeComponent, DslComponent.Scope scope, java.lang.String componentId)
public Task<Entity> newTask()
newTask
in interface TaskFactory<Task<Entity>>
newTask
in class BrooklynDslDeferredSupplier<Entity>
public DslComponent entity(java.lang.String scopeOrId)
public DslComponent child(java.lang.String scopeOrId)
public DslComponent sibling(java.lang.String scopeOrId)
public DslComponent descendant(java.lang.String scopeOrId)
public DslComponent ancestor(java.lang.String scopeOrId)
@Deprecated public DslComponent component(java.lang.String scopeOrId)
public DslComponent parent()
public DslComponent component(java.lang.String scope, java.lang.String id)
public BrooklynDslDeferredSupplier<?> attributeWhenReady(java.lang.String sensorName)
public BrooklynDslDeferredSupplier<?> config(java.lang.String keyName)
public java.lang.String toString()
toString
in class java.lang.Object