public class ApiReplicationSchedule extends ApiSchedule
Constructor and Description |
---|
ApiReplicationSchedule() |
ApiReplicationSchedule(Long id,
Date startTime,
Date endTime,
long interval,
ApiScheduleInterval intervalUnit,
boolean paused) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
ApiHdfsReplicationArguments |
getHdfsArguments()
Arguments for HDFS replication commands.
|
ApiHdfsCloudReplicationArguments |
getHdfsCloudArguments()
Arguments for HDFS cloud replication commands.
|
List<ApiReplicationCommand> |
getHistory()
List of active and/or finished commands for this schedule.
|
ApiHiveReplicationArguments |
getHiveArguments()
Arguments for Hive replication commands.
|
ApiHiveCloudReplicationArguments |
getHiveCloudArguments()
Arguments for Hive cloud replication commands.
|
int |
hashCode() |
Boolean |
isActive()
Read-only field that is true if this schedule is currently active, false if not.
|
void |
setActive(Boolean active) |
void |
setHdfsArguments(ApiHdfsReplicationArguments hdfsArguments) |
void |
setHdfsCloudArguments(ApiHdfsCloudReplicationArguments hdfsCloudArguments) |
void |
setHistory(List<ApiReplicationCommand> history) |
void |
setHiveArguments(ApiHiveReplicationArguments hiveArguments) |
void |
setHiveCloudArguments(ApiHiveCloudReplicationArguments hiveCloudArguments) |
String |
toString() |
protected com.google.common.base.Objects.ToStringHelper |
toStringHelper() |
getAlertOnAbort, getAlertOnFail, getAlertOnStart, getAlertOnSuccess, getDescription, getDisplayName, getEndTime, getId, getInterval, getIntervalUnit, getNextRun, getStartTime, isPaused, setAlertOnAbort, setAlertOnFail, setAlertOnStart, setAlertOnSuccess, setDescription, setDisplayName, setEndTime, setId, setInterval, setIntervalUnit, setNextRun, setPaused, setStartTime
public ApiReplicationSchedule()
public ApiReplicationSchedule(Long id, Date startTime, Date endTime, long interval, ApiScheduleInterval intervalUnit, boolean paused)
public ApiHdfsReplicationArguments getHdfsArguments()
public void setHdfsArguments(ApiHdfsReplicationArguments hdfsArguments)
public ApiHiveReplicationArguments getHiveArguments()
public void setHiveArguments(ApiHiveReplicationArguments hiveArguments)
public ApiHdfsCloudReplicationArguments getHdfsCloudArguments()
public void setHdfsCloudArguments(ApiHdfsCloudReplicationArguments hdfsCloudArguments)
public List<ApiReplicationCommand> getHistory()
public void setHistory(List<ApiReplicationCommand> history)
public Boolean isActive()
public void setActive(Boolean active)
public ApiHiveCloudReplicationArguments getHiveCloudArguments()
public void setHiveCloudArguments(ApiHiveCloudReplicationArguments hiveCloudArguments)
public boolean equals(Object o)
equals
in class ApiSchedule
public int hashCode()
hashCode
in class ApiSchedule
protected com.google.common.base.Objects.ToStringHelper toStringHelper()
toStringHelper
in class ApiSchedule
public String toString()
toString
in class ApiSchedule
Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.