public class ApperianApi extends Object
Constructor and Description |
---|
ApperianApi(String baseUrl,
String sessionToken) |
Modifier and Type | Method and Description |
---|---|
ApplyPoliciesResponse |
applyPolicies(String applicationId,
List<PolicyConfiguration> policyConfigurations) |
Application |
createNewVersion(String applicationId,
File appBinary,
String appName,
String author,
String shortDescription,
String longDescription,
String version,
String versionNotes,
boolean enableApp) |
Application |
getApplicationInfo(String appId) |
GetPoliciesResponse |
getAppliedPolicies(String applicationId) |
User |
getUserDetails() |
List<Application> |
listApplications() |
List<SigningCredential> |
listCredentials() |
SignApplicationResponse |
signApplication(String credentialsId,
String appId) |
Application |
updateApplication(String applicationId,
boolean enabled) |
public List<Application> listApplications() throws ConnectionException
ConnectionException
public Application createNewVersion(String applicationId, File appBinary, String appName, String author, String shortDescription, String longDescription, String version, String versionNotes, boolean enableApp) throws ConnectionException
ConnectionException
public Application updateApplication(String applicationId, boolean enabled) throws ConnectionException
ConnectionException
public Application getApplicationInfo(String appId) throws ConnectionException
ConnectionException
public List<SigningCredential> listCredentials() throws ConnectionException
ConnectionException
public SignApplicationResponse signApplication(String credentialsId, String appId) throws ConnectionException
ConnectionException
public User getUserDetails() throws ConnectionException
ConnectionException
public GetPoliciesResponse getAppliedPolicies(String applicationId) throws ConnectionException
ConnectionException
public ApplyPoliciesResponse applyPolicies(String applicationId, List<PolicyConfiguration> policyConfigurations) throws ConnectionException
ConnectionException
Copyright © 2016–2023. All rights reserved.