- getAlias(String) - Method in class com.martiansoftware.nailgun.AliasManager
-
Returns the Alias with the specified name
- getAliasedClass() - Method in class com.martiansoftware.nailgun.Alias
-
Returns the Class
object providing a static main()
or nailMain()
method
for this command.
- getAliases() - Method in class com.martiansoftware.nailgun.AliasManager
-
Returns a Set that is a snapshot of the Alias list.
- getAliasManager() - Method in class com.martiansoftware.nailgun.NGServer
-
Returns the AliasManager in use by this NGServer.
- getArgs() - Method in class com.martiansoftware.nailgun.NGContext
-
Returns the command line arguments for the command
implementation (nail) on the server.
- getCommand() - Method in class com.martiansoftware.nailgun.NGContext
-
Returns the command that was issued by the client (either an alias or the name of a class).
- getDefaultNailClass() - Method in class com.martiansoftware.nailgun.NGServer
-
Returns the default class that will be used if no Nails
can be found via alias or classname.
- getDescription() - Method in class com.martiansoftware.nailgun.Alias
-
Returns a description for the aliased command
- getEnv() - Method in class com.martiansoftware.nailgun.NGContext
-
Returns a java.util.Properties
object containing a copy
of the client's environment variables
- getFileSeparator() - Method in class com.martiansoftware.nailgun.NGContext
-
Returns the file separator ('/' or '\\') used by the client's os.
- getInetAddress() - Method in class com.martiansoftware.nailgun.NGContext
-
Returns the address of the client at the other side of this connection.
- getNailClass() - Method in class com.martiansoftware.nailgun.NailStats
-
Returns the class for which we're tracking statistics
- getNailStats() - Method in class com.martiansoftware.nailgun.NGServer
-
Returns a snapshot of this NGServer's nail statistics.
- getName() - Method in class com.martiansoftware.nailgun.Alias
-
Returns the name of the aliased command
- getNGServer() - Method in class com.martiansoftware.nailgun.NGContext
-
Returns the NGServer that accepted this connection
- getPathSeparator() - Method in class com.martiansoftware.nailgun.NGContext
-
Returns the path separator (':' or ';') used by the client's os.
- getPort() - Method in class com.martiansoftware.nailgun.NGContext
-
Returns the port on the client connected to the NailGun
server.
- getPort() - Method in class com.martiansoftware.nailgun.NGServer
-
Returns the port on which this server is (or will be) listening.
- getRefCount() - Method in class com.martiansoftware.nailgun.NailStats
-
Returns the number of sessions currently running this nail.
- getRunCount() - Method in class com.martiansoftware.nailgun.NailStats
-
Returns the number of times this nail has been run.
- getWorkingDirectory() - Method in class com.martiansoftware.nailgun.NGContext
-
Returns the current working directory of the client, as reported by the client.
- nailMain(NGContext) - Static method in class com.martiansoftware.nailgun.builtins.DefaultNail
-
- nailMain(NGContext) - Static method in class com.martiansoftware.nailgun.builtins.NGAlias
-
- nailMain(NGContext) - Static method in class com.martiansoftware.nailgun.builtins.NGClasspath
-
- nailMain(NGContext) - Static method in class com.martiansoftware.nailgun.builtins.NGServerStats
-
- nailMain(NGContext) - Static method in class com.martiansoftware.nailgun.builtins.NGStop
-
- nailMain(NGContext) - Static method in class com.martiansoftware.nailgun.builtins.NGVersion
-
- nailShutdown(NGServer) - Static method in class com.martiansoftware.nailgun.builtins.NGServerStats
-
- NailStats - Class in com.martiansoftware.nailgun
-
Collects and provides statistics on a nail.
- NGAlias - Class in com.martiansoftware.nailgun.builtins
-
Provides a means to view and add aliases.
- NGAlias() - Constructor for class com.martiansoftware.nailgun.builtins.NGAlias
-
- NGClasspath - Class in com.martiansoftware.nailgun.builtins
-
Provides a means to display and add to the system classpath at runtime.
- NGClasspath() - Constructor for class com.martiansoftware.nailgun.builtins.NGClasspath
-
- NGConstants - Class in com.martiansoftware.nailgun
-
Just a simple holder for various NailGun-related contants.
- NGConstants() - Constructor for class com.martiansoftware.nailgun.NGConstants
-
- NGContext - Class in com.martiansoftware.nailgun
-
Provides quite a bit of potentially useful information to classes
specifically written for NailGun.
- NGExitException - Exception in com.martiansoftware.nailgun
-
Security exception which wraps an exit status code.
- NGExitException(int) - Constructor for exception com.martiansoftware.nailgun.NGExitException
-
- NGSecurityManager - Class in com.martiansoftware.nailgun
-
Security manager which does nothing other than trap
checkExit, or delegate all non-deprecated methods to
a base manager.
- NGSecurityManager(SecurityManager) - Constructor for class com.martiansoftware.nailgun.NGSecurityManager
-
Construct an NGSecurityManager with the given base.
- NGServer - Class in com.martiansoftware.nailgun
-
Listens for new connections from NailGun clients and launches
NGSession threads to process them.
- NGServer(InetAddress, int, int) - Constructor for class com.martiansoftware.nailgun.NGServer
-
Creates a new NGServer that will listen at the specified address and
on the specified port with the specified session pool size.
- NGServer(InetAddress, int) - Constructor for class com.martiansoftware.nailgun.NGServer
-
Creates a new NGServer that will listen at the specified address and
on the specified port with the default session pool size.
- NGServer() - Constructor for class com.martiansoftware.nailgun.NGServer
-
Creates a new NGServer that will listen on the default port
(defined in NGConstants.DEFAULT_PORT
).
- NGServerStats - Class in com.martiansoftware.nailgun.builtins
-
Displays all
NailStats tracked by the server.
- NGServerStats() - Constructor for class com.martiansoftware.nailgun.builtins.NGServerStats
-
- NGStop - Class in com.martiansoftware.nailgun.builtins
-
Shuts down the currently running server.
- NGStop() - Constructor for class com.martiansoftware.nailgun.builtins.NGStop
-
- NGVersion - Class in com.martiansoftware.nailgun.builtins
-
Displays the version of the NailGun server and exits.
- NGVersion() - Constructor for class com.martiansoftware.nailgun.builtins.NGVersion
-