public class AddCommand extends DocAsCodeCommand<Artifact>
repo
Constructor and Description |
---|
AddCommand(DocAsCodeRepository repo) |
Modifier and Type | Method and Description |
---|---|
Artifact |
call() |
AddCommand |
set(String id,
String classifier,
File file,
String outputName,
String output,
String groupID,
String artifactID,
String version) |
AddCommand |
setFile(File location) |
AddCommand |
setID(String id,
String classifier) |
AddCommand |
setMaven(String groupID,
String artifactID,
String version) |
AddCommand |
setOutput(String outputName,
String output) |
getRepository
addListener, fireEvent, log, progress
public AddCommand(DocAsCodeRepository repo)
public AddCommand setFile(File location)
public AddCommand setOutput(String outputName, String output)
public AddCommand setMaven(String groupID, String artifactID, String version)
public AddCommand setID(String id, String classifier)
public AddCommand set(String id, String classifier, File file, String outputName, String output, String groupID, String artifactID, String version)
public Artifact call() throws ProcessingException
call
in interface Callable<Artifact>
call
in class DocAsCodeCommand<Artifact>
ProcessingException
Copyright © 2019. All rights reserved.