|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IVirtualOrganization
This is the base interface that all implementations of
virtual organizations have to implement. It is basically
a combination of IGridContainer since it may hold
other elements (i.e. services) and IStorableElement
since it is a persistent element that is stored as a
preference.
| Method Summary | |
|---|---|
IGridApplicationManager |
getApplicationManager()
Returns the IGridApplicationManager associated to this VO. |
IGridResource[] |
getAvailableResources(IGridResourceCategory category,
boolean exclusive,
IProgressMonitor monitor)
Gets all available resources of the specified resource category. |
java.lang.String |
getId()
Returns a unique identifier for the type of this VO. |
IGridInfoService |
getInfoService()
Gets the info service of this VO. |
IGridJobService[] |
getJobSubmissionServices(IProgressMonitor monitor)
Gets a list of all job submission services that are available for this virtual organization. |
IGridResourceCategory[] |
getSupportedCategories()
Gets the resource categories that are supported by this VO. |
java.lang.String |
getTypeName()
Returns a user-friendly string denoting the type of this VO. |
java.lang.String |
getWizardId()
Returns the ID of the wizard which should be used to edit VOs of this type. |
void |
refreshResources(IGridResourceCategory category,
IProgressMonitor monitor)
Reload the resources of the specified category without taking any caching into account. |
| Methods inherited from interface eu.geclipse.core.model.IGridContainer |
|---|
canContain, contains, create, delete, deleteAll, findChild, findChildWithResource, getChildCount, getChildren, hasChildren, isDirty, isLazy, refresh, setDirty |
| Methods inherited from interface eu.geclipse.core.model.IGridElement |
|---|
dispose, getFileStore, getName, getParent, getPath, getProject, getResource, isHidden, isLocal, isVirtual |
| Methods inherited from interface eu.geclipse.core.model.IStorableElement |
|---|
load, save |
| Methods inherited from interface eu.geclipse.core.model.IGridElement |
|---|
dispose, getFileStore, getName, getParent, getPath, getProject, getResource, isHidden, isLocal, isVirtual |
| Method Detail |
|---|
IGridResourceCategory[] getSupportedCategories()
IGridResourceCategory instances supported by
this VO.
IGridResource[] getAvailableResources(IGridResourceCategory category,
boolean exclusive,
IProgressMonitor monitor)
throws ProblemException
category - The resource category.exclusive - If true only resources are returned that
directly match the specified category. Otherwise also resource are
returned that match any child category of the specified resource
category.monitor - Use to monitor the progress.
- Returns:
- An array of available resources.
- Throws:
ProblemException - If for any reason the resources could not
be fetched from the underlying information service.- See Also:
IGridInfoService.fetchResources(IGridContainer, IVirtualOrganization, IGridResourceCategory, IProgressMonitor)
IGridInfoService getInfoService()
throws ProblemException
ProblemException - If an error occurs while the service
is fetched.
IGridJobService[] getJobSubmissionServices(IProgressMonitor monitor)
throws ProblemException
monitor - Used to monitor the progress.
ProblemException - If an error occurs while retrieving
the services.IGridApplicationManager getApplicationManager()
IGridApplicationManager associated to this VO.
IGridApplicationManager or null if this
VO does not support application deployment.java.lang.String getTypeName()
getId()java.lang.String getWizardId()
java.lang.String getId()
getTypeName()
void refreshResources(IGridResourceCategory category,
IProgressMonitor monitor)
throws ProblemException
category - The resource category to be refreshed.monitor - Used to monitor the progress.
ProblemException - If an error occurs while refreshing
the resources.
|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||