public interface ResourceStatus
Represents status information about a Resource
. A
ResourceStatus
is defined by a type, a priority, a data map containing the status
information and other data needed to render the status, and possibly a resource (super) type.
Consuming status components retrieve Resource
s
wrapping a ResourceStatus
(see com.adobe.granite.resourcestatus
). These
resources contain the status data as their properties, and can be rendered using the defined
resource (super) type.
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getData()
Returns an unmodifiable map containing the status information and data needed to render this
status.
|
int |
getPriority()
Returns the priority of this status corresponding to its importance
(
Integer.MAX_VALUE being the highest priority). |
java.lang.String |
getResourceSuperType()
Returns the resource super type to render this status.
|
java.lang.String |
getResourceType()
Returns the resource type to render this status.
|
java.lang.String |
getType()
Returns the type of this status defining the module or feature this status is associated
with.
|
@Nonnull java.lang.String getType()
ResourceStatusProvider.getType()
int getPriority()
Integer.MAX_VALUE
being the highest priority).@Nullable java.util.Map<java.lang.String,java.lang.Object> getData()
@Nullable java.lang.String getResourceType()
null
@Nullable java.lang.String getResourceSuperType()
null
Copyright © 2010 - 2020 Adobe. All Rights Reserved