public abstract class AbstractComponent extends Object implements Component
| Constructor and Description |
|---|
AbstractComponent(String name) |
| Modifier and Type | Method and Description |
|---|---|
<T> Attribute<T> |
attr(AttributeKey<T> key) |
<T> Collection<Attribute<T>> |
attrs() |
String |
getIdentifier() |
String |
getName() |
<T> boolean |
hasAttr(AttributeKey<T> key) |
boolean |
hasTag(Tag tag) |
void |
tag(Tag tag) |
Collection<Tag> |
tags() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetVersiongetApplication, getEnvironment, getNamespaceisLiveness, isReadinessgetArchitecture, getModule, getOrganization, getOwnerpublic AbstractComponent(String name)
public String getName()
public String getIdentifier()
getIdentifier in interface Componentpublic <T> Collection<Attribute<T>> attrs()
attrs in interface AttributeMappublic <T> Attribute<T> attr(AttributeKey<T> key)
attr in interface AttributeMappublic <T> boolean hasAttr(AttributeKey<T> key)
hasAttr in interface AttributeMappublic Collection<Tag> tags()
Copyright © 2022. All rights reserved.