Package org.jppf.node.protocol
Interface JPPFDistributedJob
- All Known Subinterfaces:
TaskBundle
- All Known Implementing Classes:
AbstractNotificationBundle,JPPFTaskBundle,NotificationBundle
public interface JPPFDistributedJob
Common interface for client-side jobs (see
JPPFJob and server-side jobs
(see TaskBundle).- Author:
- Laurent Cohen
-
Method Summary
Modifier and TypeMethodDescriptionGet the user-defined metadata associated with this job.getName()Get the user-defined display name for this job.getSLA()Get the service level agreement between the job and the server.intGet the number of tasks in the job.getUuid()Get the universal unique id for this job.
-
Method Details
-
getName
String getName()Get the user-defined display name for this job. This is the name displayed in the administration console.- Returns:
- the name as a string.
-
getUuid
String getUuid()Get the universal unique id for this job.- Returns:
- the uuid as a string.
-
getSLA
JobSLA getSLA()Get the service level agreement between the job and the server.- Returns:
- an instance of
JobSLA.
-
getMetadata
JobMetadata getMetadata()Get the user-defined metadata associated with this job.- Returns:
- a
JobMetadatainstance.
-
getTaskCount
int getTaskCount()Get the number of tasks in the job.- Returns:
- the number fo tasks.
-