java.lang.Object | ||
↳ | com.pnfsoftware.jeb.core.events.JebEventSource | |
↳ | com.pnfsoftware.jeb.core.Artifact |
Basic implementation for a named artifact that takes a flexible IInput
object.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
public static final Artifact | EMPTY |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.pnfsoftware.jeb.core.events.JebEventSource
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Artifact(String name, IInput input) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
long |
getCreationTimestamp()
Get the timestamp at which this artifact was loaded into the project.
| ||||||||||
IInput |
getInput()
Get the input data for the artifact.
| ||||||||||
String |
getName()
Get the artifact name.
| ||||||||||
String |
getNotes()
Get user-specific notes associated to the artifact.
| ||||||||||
IUnitCreator |
getParent()
For artifacts, this method always return null.
| ||||||||||
void | setInput(IInput input) | ||||||||||
void |
setName(String name)
Set the artifact name.
| ||||||||||
void |
setNotes(String notes)
Set user-specific notes associated to the artifact.
| ||||||||||
String | toString() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.pnfsoftware.jeb.core.events.JebEventSource
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.pnfsoftware.jeb.core.IArtifact
| |||||||||||
From interface
com.pnfsoftware.jeb.core.IUnitCreator
| |||||||||||
From interface
com.pnfsoftware.jeb.util.events.IEventSource
|
Get the timestamp at which this artifact was loaded into the project.
Get the artifact name.
Get user-specific notes associated to the artifact.
For artifacts, this method always return null. To retrieve the owner project, use getProject()
Set the artifact name.
name | the new name |
---|
Set user-specific notes associated to the artifact.
notes | the new notes |
---|