eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'ConfigurableFeatures':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: ConfigurableFeatures


Inheritance:

   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

Description:


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


Class protocol:

initialization
o  initialize
Invoked at system start or when the class is dynamically loaded.

queries
o  allFeatures
a list of features which are present in that smalltalk configuration

Usage example(s):

     ConfigurableFeatures allFeatures 

o  includesFeature: featureName
ConfigurableFeatures includesFeature:#SubversionSupport

o  knownFeatures
a list of known features; some of them might not be present in that smalltalk configuration

queries-features
o  hasCVSSupport
use Smalltalk-at to trick the dependency/prerequisite generator

Usage example(s):

     ConfigurableFeatures hasCVSSupport

o  hasCVSSupportEnabled

o  hasDataBaseSourceCodeManagerSupport
use Smalltalk-at to trick the dependency/prerequisite generator

Usage example(s):

     ConfigurableFeatures hasDataBaseSourceCodeManagerSupport

o  hasDataBaseSourceCodeManagerSupportEnabled

o  hasExternalLookupSupport
Return true, if the VM is compiled with external lookup MOP

Usage example(s):

        ConfigurableFeatures hasExternalLookupSupport
        ConfigurableFeatures includesFeature:#ExternalLookupSupport

o  hasFileBasedSourceCodeManagerSupport
use Smalltalk-at to trick the dependency/prerequisite generator

Usage example(s):

     ConfigurableFeatures hasFileBasedSourceCodeManagerSupport

o  hasFileBasedSourceCodeManagerSupportEnabled

o  hasGitSupport
use Smalltalk-at to trick the dependency/prerequisite generator

Usage example(s):

     ConfigurableFeatures hasGitSupport

o  hasGitSupportEnabled
self hasGitSupportEnabled

o  hasMercurialSupport
use Smalltalk-at to trick the dependency/prerequisite generator

Usage example(s):

     ConfigurableFeatures hasMercurialSupport

o  hasMercurialSupportEnabled
self hasMercurialSupportEnabled

o  hasMonticelloSupport
use Smalltalk-at to trick the dependency/prerequisite generator

Usage example(s):

     ConfigurableFeatures hasMonticelloSupport

o  hasMonticelloSupportEnabled

o  hasPerforceSupport
use Smalltalk-at to trick the dependency/prerequisite generator

Usage example(s):

     ConfigurableFeatures hasPerforceSupport

o  hasPerforceSupportEnabled

o  hasProjectChecker
( an extension from the stx:libbasic3 package )
ConfigurableFeatures includesFeature:#ProjectChecker

o  hasRefactoryBrowser
Return true, if refactory browser support is available

o  hasSCMSupportEnabledFor: aSourceCodeManagerClassName
use Smalltalk-at to trick the dependency/prerequisite generator

o  hasSubversionSupport
use Smalltalk-at to trick the dependency/prerequisite generator

Usage example(s):

     ConfigurableFeatures hasSubversionSupport

o  hasSubversionSupportEnabled



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 18 Nov 2024 04:15:20 GMT