Class DefaultClientCommandConfigurer<T>
- java.lang.Object
-
- io.jenkins.plugins.tuleap_api.deprecated_client.impl.DefaultClientCommandConfigurer<T>
-
- All Implemented Interfaces:
TuleapClientCommandConfigurer
@Extension public class DefaultClientCommandConfigurer<T> extends Object implements TuleapClientCommandConfigurer
-
-
Constructor Summary
Constructors Constructor Description DefaultClientCommandConfigurer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TuleapClientRawCmd.Command<T>
configure()
DefaultClientCommandConfigurer<T>
create(String apiUrl)
boolean
isMatch(String apiUrl)
DefaultClientCommandConfigurer<T>
withCommand(TuleapClientRawCmd.Command command)
DefaultClientCommandConfigurer<T>
withCredentials(TuleapAccessToken credentials)
DefaultClientCommandConfigurer<T>
withGitUrl(String gitUrl)
TuleapClientCommandConfigurer
withListener(TaskListener listener)
-
-
-
Method Detail
-
isMatch
public final boolean isMatch(String apiUrl)
- Specified by:
isMatch
in interfaceTuleapClientCommandConfigurer<T>
-
create
public final DefaultClientCommandConfigurer<T> create(String apiUrl)
- Specified by:
create
in interfaceTuleapClientCommandConfigurer<T>
-
withCommand
public final DefaultClientCommandConfigurer<T> withCommand(TuleapClientRawCmd.Command command)
- Specified by:
withCommand
in interfaceTuleapClientCommandConfigurer<T>
-
withCredentials
public final DefaultClientCommandConfigurer<T> withCredentials(TuleapAccessToken credentials)
- Specified by:
withCredentials
in interfaceTuleapClientCommandConfigurer<T>
-
withGitUrl
public final DefaultClientCommandConfigurer<T> withGitUrl(String gitUrl)
- Specified by:
withGitUrl
in interfaceTuleapClientCommandConfigurer<T>
-
withListener
public TuleapClientCommandConfigurer withListener(TaskListener listener)
- Specified by:
withListener
in interfaceTuleapClientCommandConfigurer<T>
-
configure
public final TuleapClientRawCmd.Command<T> configure()
- Specified by:
configure
in interfaceTuleapClientCommandConfigurer<T>
-
-