public class JobModel extends Object
| Constructor and Description |
|---|
JobModel(String bsiUrl,
boolean runOpenSourceAnalysis,
boolean isExpressAudit,
boolean isExpressScan,
int pollingInterval,
boolean includeAllFiles,
boolean excludeThirdParty,
boolean isRemediationScan,
boolean doPrettyLogOutput,
boolean isBundledAssessment,
boolean purchaseEntitlements,
int entitlementPreference)
Build model used to pass values around
|
| Modifier and Type | Method and Description |
|---|---|
BsiUrl |
getBsiUrl() |
int |
getEntitlementPreference() |
File |
getPayload() |
int |
getPollingInterval() |
boolean |
isBundledAssessment() |
boolean |
isDoPrettyLogOutput() |
boolean |
isExcludeThirdParty() |
boolean |
isExpressAudit() |
boolean |
isExpressScan() |
boolean |
isIncludeAllFiles() |
boolean |
isPurchaseEntitlements() |
boolean |
isRemediationScan() |
boolean |
isRunOpenSourceAnalysis() |
void |
setPayload(File payload) |
String |
toString() |
boolean |
validate(PrintStream logger) |
public JobModel(String bsiUrl, boolean runOpenSourceAnalysis, boolean isExpressAudit, boolean isExpressScan, int pollingInterval, boolean includeAllFiles, boolean excludeThirdParty, boolean isRemediationScan, boolean doPrettyLogOutput, boolean isBundledAssessment, boolean purchaseEntitlements, int entitlementPreference) throws URISyntaxException
bsiUrl - BSI URLrunOpenSourceAnalysis - runOpenSourceAnalysisisExpressAudit - isExpressAuditisExpressScan - isExpressScanpollingInterval - pollingIntervalincludeAllFiles - includeAllFilesexcludeThirdParty - excludeThirdPartyisRemediationScan - isRemediationScandoPrettyLogOutput - doPrettyLogOutputisBundledAssessment - isBundledAssessmentpurchaseEntitlements - purchaseEntitlementsentitlementPreference - entitlementPreferenceURISyntaxExceptionpublic File getPayload()
public void setPayload(File payload)
public BsiUrl getBsiUrl()
public boolean isRunOpenSourceAnalysis()
public boolean isExpressScan()
public boolean isExpressAudit()
public int getPollingInterval()
public boolean isDoPrettyLogOutput()
public boolean isIncludeAllFiles()
public boolean isExcludeThirdParty()
public boolean isRemediationScan()
public boolean isPurchaseEntitlements()
public int getEntitlementPreference()
public boolean isBundledAssessment()
public boolean validate(PrintStream logger)
Copyright © 2016–2017. All rights reserved.