-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from rundeck/apiv18
API v18 support
- Loading branch information
Showing
10 changed files
with
249 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
package org.rundeck.client.api.model; | ||
|
||
import com.fasterxml.jackson.annotation.JsonFormat; | ||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
import com.fasterxml.jackson.annotation.JsonInclude; | ||
|
||
import java.util.Date; | ||
import java.util.Map; | ||
|
||
/** | ||
* Parameters to run a job | ||
*/ | ||
@JsonIgnoreProperties(ignoreUnknown = true) | ||
@JsonInclude(JsonInclude.Include.NON_NULL) | ||
public class JobRun { | ||
private String asUser; | ||
private String argString; | ||
private String loglevel; | ||
private String filter; | ||
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd'T'HH:mm:ssX") | ||
private Date runAtTime; | ||
private Map<String, String> options; | ||
|
||
public String getAsUser() { | ||
return asUser; | ||
} | ||
|
||
public void setAsUser(String asUser) { | ||
this.asUser = asUser; | ||
} | ||
|
||
public String getArgString() { | ||
return argString; | ||
} | ||
|
||
public void setArgString(String argString) { | ||
this.argString = argString; | ||
} | ||
|
||
public String getLoglevel() { | ||
return loglevel; | ||
} | ||
|
||
public void setLoglevel(String loglevel) { | ||
this.loglevel = loglevel; | ||
} | ||
|
||
public String getFilter() { | ||
return filter; | ||
} | ||
|
||
public void setFilter(String filter) { | ||
this.filter = filter; | ||
} | ||
|
||
public Date getRunAtTime() { | ||
return runAtTime; | ||
} | ||
|
||
public void setRunAtTime(Date runAtTime) { | ||
this.runAtTime = runAtTime; | ||
} | ||
|
||
public Map<String, String> getOptions() { | ||
return options; | ||
} | ||
|
||
public void setOptions(Map<String, String> options) { | ||
this.options = options; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.