Package org.apache.camel.tooling.model
Class JBangCommandModel.JBangCommand
java.lang.Object
org.apache.camel.tooling.model.JBangCommandModel.JBangCommand
- Enclosing class:
JBangCommandModel
Represents a JBang CLI command.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddSubcommand(JBangCommandModel.JBangCommand subcommand) Gets the file name (without path) for this command's documentation page.Gets the relative path (including subfolder) for this command's documentation page.Gets the xref path for linking to this command's documentation page.getName()booleanbooleanbooleanbooleanvoidsetDeprecated(boolean deprecated) voidsetDeprecationNote(String deprecationNote) voidsetDescription(String description) voidsetExamples(String examples) voidsetFullName(String fullName) voidvoidsetSourceClass(String sourceClass)
-
Constructor Details
-
JBangCommand
public JBangCommand() -
JBangCommand
-
-
Method Details
-
getName
-
setName
-
getFullName
-
setFullName
-
getDescription
-
setDescription
-
isDeprecated
public boolean isDeprecated() -
setDeprecated
public void setDeprecated(boolean deprecated) -
getDeprecationNote
-
setDeprecationNote
-
getSourceClass
-
setSourceClass
-
getExamples
-
setExamples
-
hasExamples
public boolean hasExamples() -
getOptions
-
addOption
-
getSubcommands
-
addSubcommand
-
hasSubcommands
public boolean hasSubcommands() -
hasOptions
public boolean hasOptions() -
getDocFileName
Gets the file name (without path) for this command's documentation page. -
getDocFilePath
Gets the relative path (including subfolder) for this command's documentation page. -
getDocXref
Gets the xref path for linking to this command's documentation page.
-