Package com.sas.lsaf.content.utilization
Class ResourceUtilizationContainerInfo
java.lang.Object
com.sas.lsaf.content.utilization.ResourceUtilizationContainerInfo
- All Implemented Interfaces:
Serializable
Represents a workspace or repository container with total size of all its children.
- Since:
- 2.5
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionResourceUtilizationContainerInfo(String typeId, String name, String path, long size) The initializing constructor that sets the values of all variables. -
Method Summary
-
Constructor Details
-
ResourceUtilizationContainerInfo
The initializing constructor that sets the values of all variables.It is not intended or recommended that the consumer of the API construct these objects. They should only be retrieved from service calls, such as
ResourceUtilizationService.getRepositoryContainerChildrenAndSizes(String).- Parameters:
typeId- The identifying type for this item.name- The name of the item.path- The full path to the item.size- The total size (in bytes) of the item.
-
-
Method Details
-
getTypeId
Gets the identifying type for this item.- Returns:
- The identifying type.
-
getName
Gets the name for this item.- Returns:
- The name.
-
getPath
Gets the full path to the item.- Returns:
- The full path.
-
getSize
public long getSize()Gets the total size (in bytes) of the item.- Returns:
- The total size (in bytes).
-
hashCode
public int hashCode() -
equals
-
toString
-