public abstract class AbstractMavenArtifactChoiceListProvider
extends jp.ikedam.jenkins.plugins.extensible_choice_parameter.ChoiceListProvider
implements hudson.ExtensionPoint
| Constructor and Description |
|---|
AbstractMavenArtifactChoiceListProvider(String artifactId) |
| Modifier and Type | Method and Description |
|---|---|
abstract IVersionReader |
createServiceInstance() |
String |
getArtifactId() |
List<String> |
getChoiceList() |
String |
getClassifier() |
String |
getGroupId() |
String |
getPackaging() |
boolean |
getReverseOrder() |
void |
onBuildTriggeredWithValue(hudson.model.AbstractProject<?,?> pJob,
jp.ikedam.jenkins.plugins.extensible_choice_parameter.ExtensibleChoiceParameterDefinition pDef,
String pOldValue)
FIXME: CHANGE-1: Needs to be implemented.
|
static Map<String,String> |
readURL(IVersionReader pInstance,
String pGroupId,
String pArtifactId,
String pPackaging,
String pClassifier,
boolean pReverseOrder) |
void |
setArtifactId(String artifactId) |
void |
setClassifier(String classifier) |
void |
setGroupId(String groupId) |
void |
setPackaging(String packaging) |
void |
setReverseOrder(boolean reverseOrder) |
static Map<String,String> |
toMap(List<String> pChoices)
Cuts of the first parts of the URL and only returns a smaller set of items.
|
public AbstractMavenArtifactChoiceListProvider(String artifactId)
public List<String> getChoiceList()
getChoiceList in class jp.ikedam.jenkins.plugins.extensible_choice_parameter.ChoiceListProviderpublic abstract IVersionReader createServiceInstance()
public void onBuildTriggeredWithValue(hudson.model.AbstractProject<?,?> pJob,
jp.ikedam.jenkins.plugins.extensible_choice_parameter.ExtensibleChoiceParameterDefinition pDef,
String pOldValue)
onBuildTriggeredWithValue in class jp.ikedam.jenkins.plugins.extensible_choice_parameter.ChoiceListProviderpublic static Map<String,String> readURL(IVersionReader pInstance, String pGroupId, String pArtifactId, String pPackaging, String pClassifier, boolean pReverseOrder)
public static Map<String,String> toMap(List<String> pChoices)
pChoices - the list which is transformed to a map@DataBoundSetter public void setGroupId(String groupId)
@DataBoundSetter public void setArtifactId(String artifactId)
@DataBoundSetter public void setPackaging(String packaging)
@DataBoundSetter public void setClassifier(String classifier)
@DataBoundSetter public void setReverseOrder(boolean reverseOrder)
public String getGroupId()
public String getArtifactId()
public String getPackaging()
public String getClassifier()
public boolean getReverseOrder()
Copyright © 2016–2017. All rights reserved.