Package lumis.portal.deployment.process
Class ModuleDiff
- java.lang.Object
-
- lumis.portal.deployment.process.ModuleDiff
-
- All Implemented Interfaces:
Serializable
public class ModuleDiff extends Object implements Serializable
Module files diff.- Since:
- 8.1.0
- Version:
- $Revision: 24477 $ $Date: 2021-04-28 11:30:36 -0300 (Wed, 28 Apr 2021) $
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ModuleDiff
diff(IModule originalModule, IModule newModule)
Returns the diff of the given modules, if applicable ornull
.Collection<String>
getAddedFiles()
Returns the added files.Collection<String>
getChangedFiles()
Returns the changed files.Collection<String>
getRemovedFiles()
Returns the removed files.boolean
isEmpty()
Check if is empty changes in to merge.boolean
isMustRebuildClassLoader()
Returns whether the classloader must be rebuilt.
-
-
-
Method Detail
-
isMustRebuildClassLoader
public boolean isMustRebuildClassLoader()
Returns whether the classloader must be rebuilt.- Returns:
- whether the classloader must be rebuilt.
- Since:
- 8.1.0
-
diff
public static ModuleDiff diff(IModule originalModule, IModule newModule) throws PortalException
Returns the diff of the given modules, if applicable ornull
.- Parameters:
originalModule
- the original module.newModule
- the new module.- Returns:
- the diff of the given modules, if applicable or
null
. - Throws:
PortalException
- Since:
- 8.1.0
-
getAddedFiles
public Collection<String> getAddedFiles()
Returns the added files.- Returns:
- the added files.
- Since:
- 8.1.0
-
getChangedFiles
public Collection<String> getChangedFiles()
Returns the changed files.- Returns:
- the changed files.
- Since:
- 8.1.0
-
getRemovedFiles
public Collection<String> getRemovedFiles()
Returns the removed files.- Returns:
- the removed files.
- Since:
- 8.1.0
-
isEmpty
public boolean isEmpty()
Check if is empty changes in to merge.- Returns:
- true if is empty changes in to merge.
- Since:
- 14.0.0
-
-