Package co.ostorlab.ci.jenkins.gateway
Class OGateway
- java.lang.Object
-
- co.ostorlab.ci.jenkins.gateway.OGateway
-
public class OGateway extends Object
The type O gateway.
-
-
Constructor Summary
Constructors Constructor Description OGateway(OParameters params, File artifactsDir, FilePath workspace, TaskListener listener, Secret apiKey)
Instantiates a new O gateway.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static String
buildUrl(String path, URL api)
Build url string.void
execute()
Execute.String
toString()
-
-
-
Constructor Detail
-
OGateway
public OGateway(OParameters params, File artifactsDir, FilePath workspace, TaskListener listener, Secret apiKey) throws IOException
Instantiates a new O gateway.- Parameters:
params
- the paramsartifactsDir
- the artifacts dirworkspace
- the workspacelistener
- the listenerapiKey
- the api key- Throws:
IOException
- the io exception
-
-
Method Detail
-
buildUrl
public static String buildUrl(String path, URL api)
Build url string.- Parameters:
path
- the pathapi
- the api- Returns:
- the string
-
execute
public void execute() throws IOException
Execute.- Throws:
IOException
- the io exception
-
-