类 AbstractComponent
- java.lang.Object
-
- cn.sliew.milky.component.AbstractComponent
-
- 所有已实现的接口:
AttributeMap,TagSet,Component,Managable,Probeable,Tenantable,Versionable,Serializable
public abstract class AbstractComponent extends Object implements Component
- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 AbstractComponent(String name)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 <T> Attribute<T>attr(AttributeKey<T> key)<T> Collection<Attribute<T>>attrs()StringgetIdentifier()StringgetName()<T> booleanhasAttr(AttributeKey<T> key)booleanhasTag(Tag tag)voidtag(Tag tag)Collection<Tag>tags()-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 cn.sliew.milky.component.Managable
getArchitecture, getModule, getOrganization, getOwner
-
从接口继承的方法 cn.sliew.milky.component.Probeable
isLiveness, isReadiness
-
从接口继承的方法 cn.sliew.milky.component.Tenantable
getApplication, getEnvironment, getNamespace
-
从接口继承的方法 cn.sliew.milky.component.Versionable
getVersion
-
-
-
-
构造器详细资料
-
AbstractComponent
public AbstractComponent(String name)
-
-
方法详细资料
-
getIdentifier
public String getIdentifier()
- 指定者:
getIdentifier在接口中Component- 返回:
- component unqiue identifier
-
attrs
public <T> Collection<Attribute<T>> attrs()
- 指定者:
attrs在接口中AttributeMap
-
attr
public <T> Attribute<T> attr(AttributeKey<T> key)
- 指定者:
attr在接口中AttributeMap
-
hasAttr
public <T> boolean hasAttr(AttributeKey<T> key)
- 指定者:
hasAttr在接口中AttributeMap
-
tags
public Collection<Tag> tags()
-
-