|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.altair.hwm.comm.loadsubmission.ecompute.HWMEComputeJob
public class HWMEComputeJob
Title: HWMEComputeJob
Description: This class gives an implementation to the interface IHWMJob. The IHWMJob interface for a job to be submitted to any job submission system. It abstracts the parameters that comprise of the job and provides API's to access and modify them. Company: Altair Engineering, Inc. Author:Shashi
Constructor Summary | |
---|---|
HWMEComputeJob()
Constructor bare bones constructor |
|
HWMEComputeJob(int njobID,
int nProfileID,
java.lang.String strProfileName)
Full fledged constructor |
|
HWMEComputeJob(java.lang.String strJobID)
Constructor Create a job instance from the job ID |
Method Summary | |
---|---|
void |
AddFile(java.io.File solverDeckFile)
Adds a file to this job First file is usually the deck file |
void |
AddJobParams(java.util.Vector vectJobParams)
Adds a vector of job related parameters for the job. |
void |
AddPostProcessingParams(java.util.Vector vectPostParams)
Adds a vector of post processor parameters for the job. |
void |
AddSolverParams(java.util.Vector vectSolverParams)
Adds a vector of solver parameters for the job. |
java.util.Vector |
GetFiles()
|
java.lang.String |
GetJobID()
This method gets the ID for this job represented as a string. |
int |
GetJobIdAsInt()
Get the jobID for this job |
java.lang.String |
GetJobProfile()
Get the E-Compute profile name |
int |
GetJobProfileId()
Get the E-Compute profile ID |
IHWMJobStatus |
GetJobStatus()
Get the status of this job |
IHWMJobStatus |
GetJobStatus(IHWMJobManager jobMgr)
This method gets the Job status which is an instance of IHWMJobStatus. |
java.lang.String |
GetName()
Gets the name of the job. |
java.io.File |
GetOutputDir()
Give the results output dir for this job |
void |
readExternal(java.io.ObjectInput in)
ReadExternal method of the Externalizable interface |
void |
RemoveFile(java.io.File solverDeckFile)
This method removes a solver deck file to a job. |
void |
RemoveJobParams(java.util.Vector vectJobParams)
Removes a vector of job related parameters for the job. |
void |
RemovePostProcessingParams(java.util.Vector vectPostParams)
Removes a vector of post processor parameters for the job. |
void |
RemoveSolverParams(java.util.Vector vectSolverParams)
Removes a vector of solver parameters from the job. |
void |
SetAsMaster(java.io.File solverDeckFile)
Sets the specified deck file as the master file. |
void |
SetJobId(int njobID)
Set a job ID on the default job object |
void |
SetName(java.lang.String strName)
Sets the name of the Job instance. |
void |
SetOutputDir(java.io.File dir)
Set the results output directory for this job |
void |
UpdateJobProfile(java.lang.String strProfileName)
Update the E-Compute profile name |
void |
UpdateJobProfileId(int nProfileID)
Updates the profile ID on this job |
void |
writeExternal(java.io.ObjectOutput out)
WriteExternal method of the Externalizable interface |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HWMEComputeJob()
public HWMEComputeJob(java.lang.String strJobID)
public HWMEComputeJob(int njobID, int nProfileID, java.lang.String strProfileName)
jobID
- profileID
- strProfileName
- deckFile
- Method Detail |
---|
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
java.io.IOException
public int GetJobIdAsInt()
public java.lang.String GetJobID()
IHWMJob
GetJobID
in interface IHWMJob
public void SetJobId(int njobID)
jobID
- public int GetJobProfileId()
public java.lang.String GetJobProfile()
public void UpdateJobProfileId(int nProfileID)
profileID
- public void UpdateJobProfile(java.lang.String strProfileName)
strProfileName
- public void SetOutputDir(java.io.File dir)
dir
- public java.io.File GetOutputDir()
public void AddFile(java.io.File solverDeckFile)
AddFile
in interface IHWMJob
solverDeckFile
- public void AddSolverParams(java.util.Vector vectSolverParams)
IHWMJob
AddSolverParams
in interface IHWMJob
vectSolverParams
- A vector of solver parameters to be added
for the job.public void AddJobParams(java.util.Vector vectJobParams)
IHWMJob
AddJobParams
in interface IHWMJob
vectJobParams
- A vector of job parameters to be added
for the job.public void AddPostProcessingParams(java.util.Vector vectPostParams)
IHWMJob
AddPostProcessingParams
in interface IHWMJob
vectPostParams
- A vector of post processor parameters to be added
for the job.public IHWMJobStatus GetJobStatus(IHWMJobManager jobMgr)
public void SetName(java.lang.String strName) throws java.lang.Exception
SetName
in interface IHWMJob
strName
- The name of the job to be set.
java.lang.Exception
public java.lang.String GetName() throws java.lang.Exception
GetName
in interface IHWMJob
java.lang.Exception
public void RemoveFile(java.io.File solverDeckFile) throws java.lang.Exception
RemoveFile
in interface IHWMJob
solverDeckFile
- The solver deck file to be removed from the job.
java.lang.Exception
public void RemoveSolverParams(java.util.Vector vectSolverParams) throws java.lang.Exception
RemoveSolverParams
in interface IHWMJob
vectSolverParams
- A vector of solver parameters to be removed
from the job.
java.lang.Exception
public void RemoveJobParams(java.util.Vector vectJobParams) throws java.lang.Exception
RemoveJobParams
in interface IHWMJob
vectJobParams
- A vector of job parameters to be removed
from the job.
java.lang.Exception
public void RemovePostProcessingParams(java.util.Vector vectPostParams) throws java.lang.Exception
RemovePostProcessingParams
in interface IHWMJob
vectPostParams
- A vector of post processor parameters to be removed
from the job.
java.lang.Exception
public void SetAsMaster(java.io.File solverDeckFile) throws java.lang.Exception
SetAsMaster
in interface IHWMJob
solverDeckFile
- The specified deck file to be set as the master file.
java.lang.Exception
public java.util.Vector GetFiles()
public IHWMJobStatus GetJobStatus()
GetJobStatus
in interface IHWMJob
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |