public class

Artifact

extends JebEventSource
implements IArtifact
java.lang.Object
   ↳ com.pnfsoftware.jeb.core.events.JebEventSource
     ↳ com.pnfsoftware.jeb.core.Artifact

Class Overview

A simple implementation for a named artifact that takes a flexible IInput object as input.

Summary

Fields
public static final Artifact EMPTY
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()
This method must 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

Fields

public static final Artifact EMPTY

Public Constructors

public Artifact (String name, IInput input)

Public Methods

public long getCreationTimestamp ()

Get the timestamp at which this artifact was loaded into the project.

Returns
  • the epoch timestamp in milliseconds

public IInput getInput ()

Get the input data for the artifact.

Returns
  • the input object

public String getName ()

Get the artifact name.

public String getNotes ()

Get user-specific notes associated to the artifact.

Returns
  • the current notes

public IUnitCreator getParent ()

This method must return null.

public void setInput (IInput input)

public void setName (String name)

Set the artifact name.

Parameters
name the new name

public void setNotes (String notes)

Set user-specific notes associated to the artifact.

Parameters
notes the new notes

public String toString ()