Class BinaryWrapperUnit
java.lang.Object
com.pnfsoftware.jeb.core.units.impl.WrapperUnit<IBinaryUnit>
com.pnfsoftware.jeb.core.units.impl.BinaryWrapperUnit
- All Implemented Interfaces:
IUnitCreator
,IUserDataSupport
,IBinaryUnit
,IUnit
,com.pnfsoftware.jeb.corei.IWrap<IBinaryUnit>
,IEventSource
Simple wrapper (decorator) for
IBinaryUnit
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetInput()
Get the input data for that unit.Retrieve the optional content-type for that unit.Methods inherited from class com.pnfsoftware.jeb.core.units.impl.WrapperUnit
addChild, addChild, addListener, canBePersisted, clearAllData, countListeners, dispose, generateQuickState, getAllData, getChildren, getContributions, getCreationTimestamp, getData, getDescription, getFormatter, getFormatType, getIconData, getInterpreters, getListeners, getLock, getName, getNotes, getNotificationManager, getParent, getParentSource, getPropertyDefinitionManager, getPropertyManager, getRealName, getStatus, getUid, getUnitProcessor, getWrap, initializePropertyObjects, insertListener, isDisposed, isProcessed, isStale, isTransientChild, notifyListeners, postDeserialization, process, removeChild, removeListener, setData, setName, setNotes, setParent, setParentSource, setRealName, setUnitProcessor
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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
addChild, addChild, canBePersisted, dispose, generateQuickState, getChildren, getContributions, getCreationTimestamp, getDescription, getExtraInputs, getFormatter, getFormatType, getIconData, getInterpreters, getLock, getName, getNotes, getNotificationManager, getParent, getParentArtifact, getParentProject, getPropertyDefinitionManager, getPropertyManager, getRealName, getStatus, getUid, getUnitProcessor, initializePropertyObjects, isDisposed, isProcessed, isStale, isTransientChild, notifyGenericChange, postDeserialization, process, removeChild, setName, setNotes, setParent, setRealName, setUnitProcessor
Methods inherited from interface com.pnfsoftware.jeb.core.IUserDataSupport
clearAllData, getAllData, getData, setData
-
Constructor Details
-
BinaryWrapperUnit
- Parameters:
unit
-IUnit
to be delegatedprovider
- provider that extends the unit behavior
-
-
Method Details
-
getInput
Description copied from interface:IBinaryUnit
Get the input data for that unit.- Specified by:
getInput
in interfaceIBinaryUnit
- Specified by:
getInput
in interfaceIUnit
- Specified by:
getInput
in interfaceIUnitCreator
- Returns:
- a mandatory input object
-
getMimeType
Description copied from interface:IBinaryUnit
Retrieve the optional content-type for that unit.- Specified by:
getMimeType
in interfaceIBinaryUnit
- Returns:
- optional content-type
-