|
Class: ConfigurableFeatures
Object
|
+--ConfigurableFeatures
- Package:
- stx:libbasic
- Category:
- System-Support
- Version:
- rev:
1.12
date: 2021/01/20 11:01:57
- user: cg
- file: ConfigurableFeatures.st directory: libbasic
- module: stx stc-classLibrary: libbasic
being tired of finding '(Smalltalk at:someClass) notNil' all over the place,
start to concentrate feature queries to this single class, which might get more
feature methods via extensions.
Thus, to correctly ask for a feature being present, use:
ConfigurableFeature includesFeature:featureName
or
ConfigurableFeatures knownFeatures
to ask for a list of features.
Caveat: just started; more will be moved to this place as time goes by
initialization
-
initialize
-
Invoked at system start or when the class is dynamically loaded.
queries
-
allFeatures
-
a list of features which are present in that smalltalk configuration
Usage example(s):
ConfigurableFeatures allFeatures
|
-
includesFeature: featureName
-
ConfigurableFeatures includesFeature:#SubversionSupport
-
knownFeatures
-
a list of known features; some of them might not be present in that smalltalk configuration
queries-features
-
hasCVSSupport
-
use Smalltalk-at to trick the dependency/prerequisite generator
Usage example(s):
ConfigurableFeatures hasCVSSupport
|
-
hasCVSSupportEnabled
-
-
hasDataBaseSourceCodeManagerSupport
-
use Smalltalk-at to trick the dependency/prerequisite generator
Usage example(s):
ConfigurableFeatures hasDataBaseSourceCodeManagerSupport
|
-
hasDataBaseSourceCodeManagerSupportEnabled
-
-
hasExternalLookupSupport
-
Return true, if the VM is compiled with external lookup MOP
Usage example(s):
ConfigurableFeatures hasExternalLookupSupport
ConfigurableFeatures includesFeature:#ExternalLookupSupport
|
-
hasFileBasedSourceCodeManagerSupport
-
use Smalltalk-at to trick the dependency/prerequisite generator
Usage example(s):
ConfigurableFeatures hasFileBasedSourceCodeManagerSupport
|
-
hasFileBasedSourceCodeManagerSupportEnabled
-
-
hasGitSupport
-
use Smalltalk-at to trick the dependency/prerequisite generator
Usage example(s):
ConfigurableFeatures hasGitSupport
|
-
hasGitSupportEnabled
-
self hasGitSupportEnabled
-
hasMercurialSupport
-
use Smalltalk-at to trick the dependency/prerequisite generator
Usage example(s):
ConfigurableFeatures hasMercurialSupport
|
-
hasMercurialSupportEnabled
-
self hasMercurialSupportEnabled
-
hasMonticelloSupport
-
use Smalltalk-at to trick the dependency/prerequisite generator
Usage example(s):
ConfigurableFeatures hasMonticelloSupport
|
-
hasMonticelloSupportEnabled
-
-
hasPerforceSupport
-
use Smalltalk-at to trick the dependency/prerequisite generator
Usage example(s):
ConfigurableFeatures hasPerforceSupport
|
-
hasPerforceSupportEnabled
-
-
hasProjectChecker
( an extension from the stx:libbasic3 package )
-
ConfigurableFeatures includesFeature:#ProjectChecker
-
hasRefactoryBrowser
-
Return true, if refactory browser support is available
-
hasSCMSupportEnabledFor: aSourceCodeManagerClassName
-
use Smalltalk-at to trick the dependency/prerequisite generator
-
hasSubversionSupport
-
use Smalltalk-at to trick the dependency/prerequisite generator
Usage example(s):
ConfigurableFeatures hasSubversionSupport
|
-
hasSubversionSupportEnabled
-
|