|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RepositoryManager
A representation of the model object 'Repository Manager'. A represenation of a Repository manager type. For example:
The following features are supported:
Manager IdNameVersionLevelDescriptionLast Refresh TimeConnectedCustom ActionsLast Configuration Refresh TimeConfiguration ValidCARMARepository InstancesActionsFields
ModelPackage.getRepositoryManager()| Field Summary | |
|---|---|
static java.lang.String |
copyright
|
| Fields inherited from interface com.ibm.carma.model.Filterable |
|---|
WILDCARD |
| Method Summary | |
|---|---|
void |
connect(org.eclipse.core.runtime.IProgressMonitor pm,
java.lang.Object[] parameters)
Loads and connects to the repository manager, activating the repository manager connection. |
void |
disconnect(org.eclipse.core.runtime.IProgressMonitor pm)
Shuts down the connection to the host that CARMA is using to execute commands Unloads and disconnects from the Repository access manager, marking the connection as inactive |
org.eclipse.emf.common.util.EList |
getActions()
Returns the value of the 'Actions' containment reference list. |
CARMA |
getCARMA()
Returns the value of the 'CARMA' container reference. |
org.eclipse.emf.common.util.EList |
getCustomActions()
Returns the value of the 'Custom Actions' containment reference list. |
java.lang.String |
getDescription()
Returns the value of the 'Description' attribute. |
org.eclipse.emf.common.util.EList |
getFields()
Returns the value of the 'Fields' containment reference list. |
java.util.Date |
getLastConfigurationRefreshTime()
Returns the value of the 'Last Configuration Refresh Time' attribute. |
java.util.Date |
getLastRefreshTime()
Returns the value of the 'Last Refresh Time' attribute. |
java.lang.String |
getLevel()
Returns the value of the 'Level' attribute. |
java.lang.String |
getManagerId()
Returns the value of the 'Manager Id' attribute. |
java.lang.String |
getName()
Returns the value of the 'Name' attribute. |
org.eclipse.emf.common.util.EList |
getRepositoryInstances()
Returns the value of the 'Repository Instances' containment reference list. |
java.lang.String |
getVersion()
Returns the value of the 'Version' attribute. |
boolean |
isConfigurationValid()
Returns the value of the 'Configuration Valid' attribute. |
boolean |
isConnected()
Returns the value of the 'Connected' attribute. |
boolean |
isSetActions()
Returns whether the value of the ' Actions' containment reference list is set. |
boolean |
isSetFields()
Returns whether the value of the ' Fields' containment reference list is set. |
boolean |
isSetRepositoryInstances()
Returns whether the value of the ' Repository Instances' containment reference list is set. |
void |
refreshConfiguration(org.eclipse.core.runtime.IProgressMonitor pm,
boolean sendNotification)
Refreshes the custom action and field configuration for the Repository Manager. |
| Methods inherited from interface com.ibm.carma.model.Filterable |
|---|
getFilters, isFilterReady, refresh, refresh, refreshWithAllMemberInfo, refreshWithMemberInfo, removeFilter, resolveFilter |
| Methods inherited from interface com.ibm.carma.model.CustomActionAccepter |
|---|
findActionFor, markActionUnsupported, performAction |
| Methods inherited from interface org.eclipse.emf.ecore.EObject |
|---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
| Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
|---|
eAdapters, eDeliver, eNotify, eSetDeliver |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
|---|
getAdapter |
| Methods inherited from interface com.ibm.carma.model.TransportConnectionListener |
|---|
connectionStateChanged |
| Field Detail |
|---|
static final java.lang.String copyright
| Method Detail |
|---|
java.lang.String getManagerId()
ModelPackage.getRepositoryManager_ManagerId()java.lang.String getName()
ModelPackage.getRepositoryManager_Name()java.lang.String getVersion()
ModelPackage.getRepositoryManager_Version()java.lang.String getLevel()
ModelPackage.getRepositoryManager_Level()java.lang.String getDescription()
ModelPackage.getRepositoryManager_Description()java.util.Date getLastRefreshTime()
ModelPackage.getRepositoryManager_LastRefreshTime()
org.eclipse.emf.common.util.EList getRepositoryInstances()
throws NotSynchronizedException
RepositoryInstance.
It is bidirectional and its opposite is 'Repository Manager'.
The repository instances (projects) that exist within the defined Repository Manager.
NotSynchronizedException - Exeception is thrown when the a refresh operation is required because the Repository
Instance List has not been initialized.isSetRepositoryInstances(),
ModelPackage.getRepositoryManager_RepositoryInstances(),
RepositoryInstance.getRepositoryManager()boolean isSetRepositoryInstances()
Repository Instances' containment reference list is set.
Returns true if the Repository Instance list has been initialized
getRepositoryInstances()
org.eclipse.emf.common.util.EList getActions()
throws NotSynchronizedException
Action.
List of action descriptions for default and custom actions defined for the repository manager
NotSynchronizedException - Exeception is thrown when the a connect operation is required because the Actions
List has not been initialized.isSetActions(),
ModelPackage.getRepositoryManager_Actions()boolean isSetActions()
Actions' containment reference list is set.
Returns true if the Actions list has been initialized
getActions()
org.eclipse.emf.common.util.EList getFields()
throws NotSynchronizedException
Field.
List of fields used to describe CARMA resources in display content
NotSynchronizedException - Exeception is thrown when the a connect operation is required because the Fields
List has not been initialized.isSetFields(),
ModelPackage.getRepositoryManager_Fields()boolean isSetFields()
Fields' containment reference list is set.
Returns true if the Fields list has been initialized
getFields()
void connect(org.eclipse.core.runtime.IProgressMonitor pm,
java.lang.Object[] parameters)
throws org.eclipse.core.runtime.CoreException,
NotConnectedException
connect action specification can be located using the
CustomActionAccepter.findActionFor(String) method and inspecting the action
object returned. The parameter array is expected to consist of object values of
the type defined by the action parameter list in the order
specified by the parameter list.
The parameters array should:
parameters specificationtype specified for each parameter
pm - progress monitor for the operationparameters - the set of parameters required for the method to execute properly
org.eclipse.core.runtime.CoreException - An error occured during execution of the command
NotConnectedException - The action could not be performed because the CARMA connection is not active.ActionIdentifier.CONNECT_RAM
void disconnect(org.eclipse.core.runtime.IProgressMonitor pm)
throws org.eclipse.core.runtime.CoreException
pm - progress monitor for the operation
org.eclipse.core.runtime.CoreException - An error occured during execution of the command
void refreshConfiguration(org.eclipse.core.runtime.IProgressMonitor pm,
boolean sendNotification)
throws org.eclipse.core.runtime.CoreException,
NotConnectedException
getActions() and getFields() accessors should have the most
recent information as determined by the host.
pm - progress monitor for the operationsendNotification - set to true if notification messages should be issued from changes made during the refresh operation
org.eclipse.core.runtime.CoreException - An error occured during execution of the command
NotConnectedException - The action could not be performed because the CARMA connection is not active.boolean isConnected()
"false".
Set to true when the Repository manager is actively connected to the server.
ModelPackage.getRepositoryManager_Connected()
org.eclipse.emf.common.util.EList getCustomActions()
throws NotSynchronizedException
Action.
Returns the "custom" actions associated with the repository manager. The action is known to be a "custom" action if the Action.isCustom() method returns true.
NotSynchronizedExceptionModelPackage.getRepositoryManager_CustomActions()java.util.Date getLastConfigurationRefreshTime()
ModelPackage.getRepositoryManager_LastConfigurationRefreshTime()boolean isConfigurationValid()
"false".
Flag to indicate that the configuration is valid for the RAM. If the configuration is invalid, then it should be refreshed.
ModelPackage.getRepositoryManager_ConfigurationValid()CARMA getCARMA()
Repository Managers'.
CARMA object managing the connection used by the repository manager
ModelPackage.getRepositoryManager_CARMA(),
CARMA.getRepositoryManagers()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||