Documentation ¶
Index ¶
- Constants
- type MvnCommand
- func (mc *MvnCommand) CommandName() string
- func (mc *MvnCommand) Run() error
- func (mc *MvnCommand) ServerDetails() (*config.ServerDetails, error)
- func (mc *MvnCommand) SetConfigPath(configPath string) *MvnCommand
- func (mc *MvnCommand) SetConfiguration(configuration *utils.BuildConfiguration) *MvnCommand
- func (mc *MvnCommand) SetGoals(goals []string) *MvnCommand
- func (mc *MvnCommand) SetInsecureTls(insecureTls bool) *MvnCommand
- func (mc *MvnCommand) SetServerDetails(serverDetails *config.ServerDetails) *MvnCommand
- func (mc *MvnCommand) SetThreads(threads int) *MvnCommand
Constants ¶
View Source
const MavenHome = "M2_HOME"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MvnCommand ¶
type MvnCommand struct {
// contains filtered or unexported fields
}
func NewMvnCommand ¶
func NewMvnCommand() *MvnCommand
func (*MvnCommand) CommandName ¶
func (mc *MvnCommand) CommandName() string
func (*MvnCommand) Run ¶
func (mc *MvnCommand) Run() error
func (*MvnCommand) ServerDetails ¶ added in v1.4.0
func (mc *MvnCommand) ServerDetails() (*config.ServerDetails, error)
Returns the ServerDetails. The information returns from the config file provided.
func (*MvnCommand) SetConfigPath ¶
func (mc *MvnCommand) SetConfigPath(configPath string) *MvnCommand
func (*MvnCommand) SetConfiguration ¶
func (mc *MvnCommand) SetConfiguration(configuration *utils.BuildConfiguration) *MvnCommand
func (*MvnCommand) SetGoals ¶
func (mc *MvnCommand) SetGoals(goals []string) *MvnCommand
func (*MvnCommand) SetInsecureTls ¶
func (mc *MvnCommand) SetInsecureTls(insecureTls bool) *MvnCommand
func (*MvnCommand) SetServerDetails ¶ added in v1.4.0
func (mc *MvnCommand) SetServerDetails(serverDetails *config.ServerDetails) *MvnCommand
func (*MvnCommand) SetThreads ¶
func (mc *MvnCommand) SetThreads(threads int) *MvnCommand
Click to show internal directories.
Click to hide internal directories.