C# Class GitSharp.CLI.CommandRef

Description of a command subcommand. These descriptions are lightweight compared to creating a command instance and are therefore suitable for catalogs of "known" commands without linking the command's implementation and creating a dummy instance of the command.
Afficher le fichier Open project: nestalk/GitSharp Class Usage Examples

Méthodes publiques

Méthode Description
CommandRef ( TextBuiltin clazz ) : System
CommandRef ( TextBuiltin clazz, String cn ) : System
Create ( ) : TextBuiltin

Returns a new instance of the command implementation.

getImplementationClassName ( ) : String

Returns the name of the class which implements this command.

getName ( ) : String

Returns the friendly command name. The command as invoked from the command line.

getUsage ( ) : String

Returns a one line description of the command's feature set.

isCommon ( ) : bool

Returns true if this command is considered to be commonly used.

isComplete ( ) : bool

Returns true if this command is considered to be completed.

Method Details

CommandRef() public méthode

public CommandRef ( TextBuiltin clazz ) : System
clazz TextBuiltin
Résultat System

CommandRef() public méthode

public CommandRef ( TextBuiltin clazz, String cn ) : System
clazz TextBuiltin
cn String
Résultat System

Create() public méthode

Returns a new instance of the command implementation.
public Create ( ) : TextBuiltin
Résultat TextBuiltin

getImplementationClassName() public méthode

Returns the name of the class which implements this command.
public getImplementationClassName ( ) : String
Résultat String

getName() public méthode

Returns the friendly command name. The command as invoked from the command line.
public getName ( ) : String
Résultat String

getUsage() public méthode

Returns a one line description of the command's feature set.
public getUsage ( ) : String
Résultat String

isCommon() public méthode

Returns true if this command is considered to be commonly used.
public isCommon ( ) : bool
Résultat bool

isComplete() public méthode

Returns true if this command is considered to be completed.
public isComplete ( ) : bool
Résultat bool