eu.geclipse.batch
Class BatchConnectionInfo
java.lang.Object
PlatformObject
eu.geclipse.core.model.impl.AbstractGridElement
eu.geclipse.core.model.impl.AbstractGridContainer
eu.geclipse.core.model.impl.ResourceGridContainer
eu.geclipse.batch.BatchConnectionInfo
- All Implemented Interfaces:
- IGridContainer, IGridElement, IGridSiteConfig, IStorableElement
public class BatchConnectionInfo
- extends ResourceGridContainer
- implements IGridSiteConfig
Holder object for the necessary information to connect to a batch service.
|
Constructor Summary |
BatchConnectionInfo(IFile file)
Create a new Batch service description from the specified IFile. |
| Methods inherited from class eu.geclipse.core.model.impl.AbstractGridContainer |
canContain, contains, create, delete, deleteAll, dispose, findChild, findChildWithResource, getChildCount, getChildren, hasChildren, isDirty, refresh, setDirty |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface eu.geclipse.core.model.IGridContainer |
canContain, contains, create, delete, deleteAll, findChild, findChildWithResource, getChildCount, getChildren, hasChildren, isDirty, isLazy, refresh, setDirty |
BatchConnectionInfo
public BatchConnectionInfo(IFile file)
- Create a new Batch service description from the specified
IFile.
- Parameters:
file - The file from which to create the description.
setConnectionInfo
public void setConnectionInfo(java.lang.String bName,
java.lang.String acc,
java.lang.String type,
int interval)
- Sets the properties of the connection
- Parameters:
bName - acc - type - interval -
getAccount
public java.lang.String getAccount()
- Returns:
- the account
getBatchName
public java.lang.String getBatchName()
- Returns:
- the batchName
getBatchType
public java.lang.String getBatchType()
- Returns:
- the batchType
getUpdateInterval
public int getUpdateInterval()
- Returns:
- the updateInterval
load
public void load()
throws ProblemException
- Description copied from interface:
IStorableElement
- Load the properties of that element. That may cause that
some predefined properties may be overwritten with the
loaded properties. The element itself has to know from
where to load itself.
- Specified by:
load in interface IStorableElement
- Throws:
ProblemException - If an error occurs while loading
this element. This is mainly due to IOExceptions.
save
public void save()
throws ProblemException
- Description copied from interface:
IStorableElement
- Write the properties of this element. The element itself has
to know where to save itself.
- Specified by:
save in interface IStorableElement
- Throws:
ProblemException - If an error occurs while saving
this element. This is mainly due to IOExceptions.