Package com.adobe.granite.resourcestatus
Interface ResourceStatus
- All Known Implementing Classes:
EditorResourceStatus
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 Resources
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.
-
Method Summary
Modifier and TypeMethodDescriptiongetData()Returns an unmodifiable map containing the status information and data needed to render this status.intReturns the priority of this status corresponding to its importance (Integer.MAX_VALUEbeing the highest priority).Returns the resource super type to render this status.Returns the resource type to render this status.getType()Returns the type of this status defining the module or feature this status is associated with.
-
Method Details
-
getType
Returns the type of this status defining the module or feature this status is associated with.- Returns:
- the status type
- See Also:
-
getPriority
int getPriority()Returns the priority of this status corresponding to its importance (Integer.MAX_VALUEbeing the highest priority).- Returns:
- the status priority
-
getData
Returns an unmodifiable map containing the status information and data needed to render this status.- Returns:
- a map containing key/value pairs
-
getResourceType
Returns the resource type to render this status.- Returns:
- a resource type or
null
-
getResourceSuperType
Returns the resource super type to render this status.- Returns:
- a resource super type or
null
-