public class ModuleObject extends Object
IDeployObject.ObjectType
Modifier | Constructor and Description |
---|---|
protected |
ModuleObject() |
Modifier and Type | Method and Description |
---|---|
boolean |
accumulateChecksum()
Indicates whether the checksum of this object should accumulate the subtree.
|
Collection<IDeployObject> |
find(IDeployObject.ObjectType type,
EnumSet<IDeployObject.ObjectType> allowedInnerObjects)
Find all objects of the given type in subtree, but discards subtrees when their root type is not contained in the
given set.
|
IDeployObject |
find(String id,
IDeployObject.ObjectType objectType,
EnumSet<IDeployObject.ObjectType> allowedInnerObjects)
Finds the object with the given identifier of the given type in subtree.
|
String |
getChecksum()
Returns the checksum of this object.
|
<T extends lumis.portal.deployment.process.IChecksumListener> |
getChecksumListener()
Returns the checksum listener of this object.
|
Map<String,IDeployObject> |
getFiles()
Returns a map with all files present in this module.
|
String |
getId()
Returns the identifier of this object.
|
Collection<IDeployObject> |
getInnerObjects()
Returns a collection with the inner objects.
|
IDeployObject.ObjectType |
getType()
Returns the type of this object.
|
boolean |
isStoreChecksum()
Indicates whether the checksum of this object should be stored.
|
IDeployObject |
setChecksum(String checksum)
Sets the checksum of this object.
|
<T extends lumis.portal.deployment.process.IChecksumListener> |
setChecksumListener(T listener)
Sets the checksum listener of this object.
|
IDeployObject |
setId(String id)
Sets the identifier of this object.
|
IDeployObject |
setStoreChecksum(boolean isStoreChecksum)
Sets whether the checksum of this object should be stored.
|
String |
toString() |
public Map<String,IDeployObject> getFiles()
public String getId()
IDeployObject
getId
in interface IDeployObject
public IDeployObject setId(String id)
IDeployObject
setId
in interface IDeployObject
id
- the identifier of this object.public Collection<IDeployObject> getInnerObjects()
IDeployObject
getInnerObjects
in interface IDeployObject
public String getChecksum()
IDeployObject
getChecksum
in interface IDeployObject
public IDeployObject setChecksum(String checksum)
IDeployObject
setChecksum
in interface IDeployObject
checksum
- the checksum of this object.public <T extends lumis.portal.deployment.process.IChecksumListener> IDeployObject setChecksumListener(T listener)
IDeployObject
setChecksumListener
in interface IDeployObject
listener
- the checksum listener of this object.public <T extends lumis.portal.deployment.process.IChecksumListener> T getChecksumListener()
IDeployObject
getChecksumListener
in interface IDeployObject
public boolean isStoreChecksum()
IDeployObject
isStoreChecksum
in interface IDeployObject
public IDeployObject setStoreChecksum(boolean isStoreChecksum)
IDeployObject
setStoreChecksum
in interface IDeployObject
isStoreChecksum
- whether the checksum of this object should be stored.public Collection<IDeployObject> find(IDeployObject.ObjectType type, EnumSet<IDeployObject.ObjectType> allowedInnerObjects)
IDeployObject
find
in interface IDeployObject
type
- the type to be search.allowedInnerObjects
- the allowed inner objects types.public IDeployObject find(String id, IDeployObject.ObjectType objectType, EnumSet<IDeployObject.ObjectType> allowedInnerObjects)
IDeployObject
find
in interface IDeployObject
id
- the object identifier.objectType
- the object type.allowedInnerObjects
- the allowed inner objects types.public IDeployObject.ObjectType getType()
IDeployObject
getType
in interface IDeployObject
public boolean accumulateChecksum()
IDeployObject
accumulateChecksum
in interface IDeployObject
LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.