Class FileContainerUnit
java.lang.Object
com.pnfsoftware.jeb.core.events.JebEventSource
com.pnfsoftware.jeb.core.units.AbstractUnit
com.pnfsoftware.jeb.core.units.impl.ContainerUnit
com.pnfsoftware.jeb.core.units.impl.FileContainerUnit
- All Implemented Interfaces:
IUnitCreator
,IUserDataSupport
,IUnit
,IEventSource
Container units used to represent folders and files. Units and children units are created to
mimic the file-system structure provided as input.
- See Also:
-
Field Summary
Fields inherited from class com.pnfsoftware.jeb.core.units.impl.ContainerUnit
CONTAINERS_FIRST
Fields inherited from class com.pnfsoftware.jeb.core.events.JebEventSource
onEventCallCount
-
Constructor Summary
ConstructorsConstructorDescriptionFileContainerUnit
(File folder, String name, IUnitProcessor unitProcessor, IUnitCreator parent, IPropertyDefinitionManager pdm) -
Method Summary
Methods inherited from class com.pnfsoftware.jeb.core.units.impl.ContainerUnit
equals, getChildren, getRootContainer, hashCode, process
Methods inherited from class com.pnfsoftware.jeb.core.units.AbstractUnit
addChild, addChild, addChild, addNotification, canBePersisted, clearAllData, dispose, finalize, generateQuickState, getAllData, getContributions, getCreationTimestamp, getData, getDescription, getFormatter, getFormatType, getIconData, getInterpreters, getLock, getName, getNotes, getNotificationManager, getParent, getPropertyDefinitionManager, getPropertyManager, getRealName, getStatus, getUid, getUnitProcessor, hasChildren, initializePropertyObjects, internalSwapChildren, isDeserialized, isDisposed, isProcessed, isStale, isTransientChild, logError, logException, logInfo, logTrace, logWarn, onPropertyChange, postDeserialization, processInternal, removeChild, removeChild, setChild, setChild, setData, setName, setNotes, setParent, setProcessed, setProcessed, setRealName, setStatus, setStatus, setUnitProcessor, toString
Methods inherited from class com.pnfsoftware.jeb.core.events.JebEventSource
addListener, countListeners, getListeners, getParentSource, insertListener, notifyListeners, notifyListeners, notifyListeners, removeListener, setParentSource
Methods inherited from interface com.pnfsoftware.jeb.util.events.IEventSource
addListener, countListeners, getListeners, getParentSource, insertListener, notifyListeners, removeListener, setParentSource
Methods inherited from interface com.pnfsoftware.jeb.core.units.IUnit
getExtraInputs, getInput, getParentArtifact, getParentProject, notifyGenericChange
-
Constructor Details
-
FileContainerUnit
public FileContainerUnit(File folder, String name, IUnitProcessor unitProcessor, IUnitCreator parent, IPropertyDefinitionManager pdm) - Parameters:
folder
- input folder to be processedname
-unitProcessor
-parent
-pdm
-
-
-
Method Details
-
process
public boolean process(boolean processLeaves) - Overrides:
process
in classContainerUnit
-