Class O365JobSchedulePolicyResponse
java.lang.Object
com.iland.core.web.rest.response.vbo.O365JobSchedulePolicyResponse
- All Implemented Interfaces:
Serializable
Office 365 VBO Job Schedule Policy Response.
- Author:
- Julien Anguenot
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionO365JobSchedulePolicyResponse(O365JobSchedulePolicyType type, O365JobSchedulePolicyDailyType dailyType, String dailyTime, O365JobSchedulePolicyPeriodicallyEvery periodicallyEvery, boolean backupWindowEnabled, List<Boolean> backupWindow, int backupWindowMinuteOffset, boolean retryEnabled, int retryNumber, int retryWaitInterval) -
Method Summary
Modifier and TypeMethodDescriptionintReturns the time when the job will start.Returns the days when the backup job will run.Returns the time interval between the job runs.intReturns the number of attempts to run the backup job.intReturns the time intervals between the job retry attempts (minutes).getType()Returns the job schedule type.booleanbooleanReturns whether retry is enabled.
-
Constructor Details
-
O365JobSchedulePolicyResponse
public O365JobSchedulePolicyResponse(O365JobSchedulePolicyType type, O365JobSchedulePolicyDailyType dailyType, String dailyTime, O365JobSchedulePolicyPeriodicallyEvery periodicallyEvery, boolean backupWindowEnabled, List<Boolean> backupWindow, int backupWindowMinuteOffset, boolean retryEnabled, int retryNumber, int retryWaitInterval)
-
-
Method Details
-
getType
Returns the job schedule type.- Returns:
- one of
O365JobSchedulePolicyType
-
getDailyType
Returns the days when the backup job will run.- Returns:
- one of
O365JobSchedulePolicyDailyType
-
getDailyTime
Returns the time when the job will start.- Returns:
- String w/ format such as "19:00:00"
-
getPeriodicallyEvery
Returns the time interval between the job runs.- Returns:
- one of
O365JobSchedulePolicyPeriodicallyEvery
-
isBackupWindowEnabled
public boolean isBackupWindowEnabled() -
getBackupWindow
-
getBackupWindowMinuteOffset
public int getBackupWindowMinuteOffset() -
isRetryEnabled
public boolean isRetryEnabled()Returns whether retry is enabled.- Returns:
- whether retry is enabled.
-
getRetryWaitInterval
public int getRetryWaitInterval()Returns the time intervals between the job retry attempts (minutes).- Returns:
- the retry wait time interval
-
getRetryNumber
public int getRetryNumber()Returns the number of attempts to run the backup job.- Returns:
- the retry number
-