Package lumis.portal.deployment.process
Class ModuleDiff
- java.lang.Object
-
- lumis.portal.deployment.process.ModuleDiff
-
- All Implemented Interfaces:
java.io.Serializable
public class ModuleDiff extends java.lang.Object implements java.io.Serializable
Module files diff.- Since:
- 8.1.0
- Version:
- $Revision: 25123 $ $Date: 2022-07-05 13:15:45 -0300 (Tue, 05 Jul 2022) $
- 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
.java.util.Collection<java.lang.String>
getAddedFiles()
Returns the added files.java.util.Collection<java.lang.String>
getChangedFiles()
Returns the changed files.java.util.Collection<java.lang.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 java.util.Collection<java.lang.String> getAddedFiles()
Returns the added files.- Returns:
- the added files.
- Since:
- 8.1.0
-
getChangedFiles
public java.util.Collection<java.lang.String> getChangedFiles()
Returns the changed files.- Returns:
- the changed files.
- Since:
- 8.1.0
-
getRemovedFiles
public java.util.Collection<java.lang.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
-
-