Business Objects
Quark Platform Documentation
Version 1.7.0_0
Business Objects

org.openquark.cal.services
Class BasicCALWorkspace.Discrete

java.lang.Object
  extended by org.openquark.cal.services.CALWorkspace
      extended by org.openquark.cal.services.BasicCALWorkspace
          extended by org.openquark.cal.services.BasicCALWorkspace.Discrete
All Implemented Interfaces:
ProgramModifier.ProgramChangeListener, ResourceAccess
Enclosing class:
BasicCALWorkspace

public static class BasicCALWorkspace.Discrete
extends BasicCALWorkspace

A discrete workspace represents a single folder (plus subfolders) in the file system. Each discrete workspace lives independently of other discrete workspaces having a different client ID.

Author:
Edward Lam

Nested Class Summary
 
Nested classes/interfaces inherited from class org.openquark.cal.services.BasicCALWorkspace
BasicCALWorkspace.Discrete, BasicCALWorkspace.Nullary
 
Nested classes/interfaces inherited from class org.openquark.cal.services.CALWorkspace
CALWorkspace.DependencyFinder, CALWorkspace.SyncInfo
 
Field Summary
 
Fields inherited from class org.openquark.cal.services.BasicCALWorkspace
PROVIDER_FACTORY
 
Fields inherited from class org.openquark.cal.services.CALWorkspace
SERVICES_LOGGER_NAMESPACE
 
Method Summary
 File getRootDirectory()
           
 String getWorkspaceID()
          
 String getWorkspaceLocationString()
          
static CALWorkspace makeDiscreteWorkspace(String workspaceID)
          Factory method for a discrete CALWorkspace.
 
Methods inherited from class org.openquark.cal.services.CALWorkspace
addModule, asModuleContainer, checkDefinitionContent, containsModule, getClassInstance, getDebugInfo, getDebugInfoForModule, getDependencyFinder, getFirstModuleName, getGemEntity, getMetadata, getMetadata, getMetaModule, getModuleNames, getModuleNameToSourceManagerMapping, getNMetaModules, getNthMetaModule, getResourceManager, getResourceManagersForModule, getResourcePath, getScopedEntity, getSourceDefinition, getSourceManager, getSourceMetrics, getTypeConstructor, getUserResource, getVault, getVaultInfo, getVaultRegistry, getVaultStatus, getVaultStatus, getWorkspaceDeclarationManager, initializeWorkspace, loadPersistedWorkspace, moduleLoaded, moduleRemoved, registerCarAwareResourceManager, registerNonCarAwareResourceManager, registerVaultAuthenticator, registerVaultProvider, removeModule, removeModules, renameFeature, saveDesign, saveEntity, saveMetadata, saveMetadata, syncModule, syncModuleToRevision, syncModuleToStoredModule
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

makeDiscreteWorkspace

public static CALWorkspace makeDiscreteWorkspace(String workspaceID)
Factory method for a discrete CALWorkspace.

Parameters:
workspaceID - a string identifying the discrete workspace. Workspace id's are used to identify and refer to specific workspaces.
Returns:
a new CALWorkspace with the given workspace ID.

getWorkspaceID

public String getWorkspaceID()

Specified by:
getWorkspaceID in class CALWorkspace
Returns:
the workspace id. Null for a nullary workspace.

getRootDirectory

public File getRootDirectory()
Returns:
the folder representing the root of this discrete workspace.

getWorkspaceLocationString

public String getWorkspaceLocationString()

Specified by:
getWorkspaceLocationString in class CALWorkspace
Returns:
a readable string identifying the location of the workspace.

Business Objects
Quark Platform Documentation
Version 1.7.0_0
Business Objects

Copyright © 2007 Business Objects. All rights reserved.