|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.slamd.admin.JobPack
public class JobPack
This class defines methods for dealing with SLAMD job packs. A job pack is a JAR file containing one or more SLAMD jobs and supporting files that may be uploaded as a group and automatically registered with the SLAMD server.
| Constructor Summary | |
|---|---|
JobPack(RequestInfo requestInfo)
Creates a new job pack definition with the provided request. |
|
JobPack(RequestInfo requestInfo,
java.lang.String filePath)
Creates a new job pack definition from a file on the server's filesystem. |
|
| Method Summary | |
|---|---|
void |
processJobPack()
Extracts the contents of the job pack and registers the included jobs with the SLAMD server. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JobPack(RequestInfo requestInfo)
requestInfo - Information about the request from the client,
including the file data.
public JobPack(RequestInfo requestInfo,
java.lang.String filePath)
requestInfo - Information about the request from the client.filePath - The path to the job pack file on the server's
filesystem.| Method Detail |
|---|
public void processJobPack()
throws SLAMDServerException
SLAMDServerException - If a problem occurs while processing the job
pack JAR file.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||