Members
-
<static, readonly> RESOURCE_MATCHER
-
Properties
Name Type Description RESOURCE_MATCHER
RegExp Examples
MockettaroProgram.RESOURCE_MATCHER
Details
-
<static, readonly> FOLDER_MATCHER
-
Properties
Name Type Description FOLDER_MATCHER
RegExp Examples
MockettaroProgram.FOLDER_MATCHER
Details
-
<static, readonly> DEFAULT_PORT
-
Properties
Name Type Description DEFAULT_PORT
number Examples
MockettaroProgram.DEFAULT_PORT
Details
-
<static, readonly> DEFAULT_RESOURCE
-
Properties
Name Type Description DEFAULT_RESOURCE
string Examples
MockettaroProgram.DEFAULT_RESOURCE
Details
-
<static, readonly> DEFAULT_FOLDER
-
Properties
Name Type Description DEFAULT_FOLDER
string Examples
MockettaroProgram.DEFAULT_RESOURCE
Details
-
<static, readonly> DEFAULT_DELAY
-
Properties
Name Type Description DEFAULT_DELAY
number Examples
MockettaroProgram.DEFAULT_DELAY
Details
-
<static, readonly> DEFAULT_CACHE_LIFETIME
-
Properties
Name Type Description DEFAULT_CACHE_LIFETIME
number Examples
MockettaroProgram.DEFAULT_CACHE_LIFETIME
Details
-
<static, readonly> MIN_PORT
-
Properties
Name Type Description MIN_PORT
number Examples
MockettaroProgram.MIN_PORT
Details
-
<static, readonly> MAX_PORT
-
Properties
Name Type Description MAX_PORT
number Examples
MockettaroProgram.MAX_PORT
Details
-
<static, readonly> MAX_DELAY
-
Properties
Name Type Description MAX_DELAY
number Examples
MockettaroProgram.MAX_DELAY
Details
-
<static, readonly> MAX_CACHE_LIFETIME
-
Properties
Name Type Description MAX_CACHE_LIFETIME
number Examples
MockettaroProgram.MAX_CACHE_LIFETIME
Details
Methods
-
<static> numericArgParser( matcher, min, max ) → {function}
-
Parameters
Name Type Description matcher
RegExp Number regexp matcher min
number Lower limit max
number Upper limit Returns
Examples
MockettaroProgram.numericArgParser(/\d+/, 0, 100)
Details
-
<static> cmdParser( argv ) → {Commander}
-
Parameters
Name Type Description argv
Array.<string> command line arguments Returns
Examples
MockettaroProgram.cmdParser('abc', 'abc', '-p', '...')
Details