public class ApiReplicationSchedule extends ApiSchedule<ApiReplicationCommand>
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.
|
List<ApiReplicationCommand> |
getHistory()
List of active and/or finished commands for this schedule.
|
ApiHiveReplicationArguments |
getHiveArguments()
Arguments for Hive replication commands.
|
int |
hashCode() |
void |
setHdfsArguments(ApiHdfsReplicationArguments hdfsArguments) |
void |
setHiveArguments(ApiHiveReplicationArguments hiveArguments) |
String |
toString() |
getAlertOnAbort, getAlertOnFail, getAlertOnStart, getAlertOnSuccess, getEndTime, getId, getInterval, getIntervalUnit, getNextRun, getStartTime, isPaused, setAlertOnAbort, setAlertOnFail, setAlertOnStart, setAlertOnSuccess, setEndTime, setHistory, setId, setInterval, setIntervalUnit, setNextRun, setPaused, setStartTime, toStringHelper
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 List<ApiReplicationCommand> getHistory()
getHistory
in class ApiSchedule<ApiReplicationCommand>
public boolean equals(Object o)
equals
in class ApiSchedule<ApiReplicationCommand>
public int hashCode()
hashCode
in class ApiSchedule<ApiReplicationCommand>
public String toString()
toString
in class ApiSchedule<ApiReplicationCommand>
Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.