Package com.pnfsoftware.jeb.core
Class Artifact
java.lang.Object
com.pnfsoftware.jeb.core.events.JebEventSource
com.pnfsoftware.jeb.core.Artifact
- All Implemented Interfaces:
IArtifact
,IUnitCreator
,IEventSource
Basic implementation for a named artifact that takes a flexible
IInput
object.-
Field Summary
FieldsFields inherited from class com.pnfsoftware.jeb.core.events.JebEventSource
onEventCallCount
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
Get the timestamp at which this artifact was loaded into the project.getInput()
Get the input data for the artifact.getName()
Get the artifact name.getNotes()
Get user-specific notes associated to the artifact.For artifacts, this method always return null.void
void
Set the artifact name.void
Set user-specific notes associated to the artifact.toString()
Methods inherited from class com.pnfsoftware.jeb.core.events.JebEventSource
addListener, countListeners, getListeners, getParentSource, insertListener, notifyListeners, notifyListeners, notifyListeners, removeListener, setParentSource
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.pnfsoftware.jeb.core.IArtifact
getParentProject
Methods inherited from interface com.pnfsoftware.jeb.util.events.IEventSource
addListener, countListeners, getListeners, getParentSource, insertListener, notifyListeners, removeListener, setParentSource
-
Field Details
-
EMPTY
-
-
Constructor Details
-
Artifact
-
-
Method Details
-
getParent
Description copied from interface:IArtifact
For artifacts, this method always return null. To retrieve the owner project, use getProject()- Specified by:
getParent
in interfaceIArtifact
- Specified by:
getParent
in interfaceIUnitCreator
- Returns:
-
getInput
Description copied from interface:IArtifact
Get the input data for the artifact.- Specified by:
getInput
in interfaceIArtifact
- Specified by:
getInput
in interfaceIUnitCreator
- Returns:
- the input object
-
setInput
-
getName
Description copied from interface:IArtifact
Get the artifact name.- Specified by:
getName
in interfaceIArtifact
- Specified by:
getName
in interfaceIUnitCreator
- Returns:
-
setName
Description copied from interface:IArtifact
Set the artifact name. -
getNotes
Description copied from interface:IArtifact
Get user-specific notes associated to the artifact. -
setNotes
Description copied from interface:IArtifact
Set user-specific notes associated to the artifact. -
getCreationTimestamp
public long getCreationTimestamp()Description copied from interface:IArtifact
Get the timestamp at which this artifact was loaded into the project.- Specified by:
getCreationTimestamp
in interfaceIArtifact
- Returns:
- the epoch timestamp in milliseconds
-
toString
-