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 TypeMethodDescriptionlongGet 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.voidvoidSet the artifact name.voidSet 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, setParentSourceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.pnfsoftware.jeb.core.IArtifact
getParentProjectMethods 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:IArtifactFor artifacts, this method always return null. To retrieve the owner project, use getProject()- Specified by:
getParentin interfaceIArtifact- Specified by:
getParentin interfaceIUnitCreator- Returns:
-
getInput
Description copied from interface:IArtifactGet the input data for the artifact.- Specified by:
getInputin interfaceIArtifact- Specified by:
getInputin interfaceIUnitCreator- Returns:
- the input object
-
setInput
-
getName
Description copied from interface:IArtifactGet the artifact name.- Specified by:
getNamein interfaceIArtifact- Specified by:
getNamein interfaceIUnitCreator- Returns:
-
setName
Description copied from interface:IArtifactSet the artifact name. -
getNotes
Description copied from interface:IArtifactGet user-specific notes associated to the artifact. -
setNotes
Description copied from interface:IArtifactSet user-specific notes associated to the artifact. -
getCreationTimestamp
public long getCreationTimestamp()Description copied from interface:IArtifactGet the timestamp at which this artifact was loaded into the project.- Specified by:
getCreationTimestampin interfaceIArtifact- Returns:
- the epoch timestamp in milliseconds
-
toString
-