@Test public void testDefaultGracePeriod() { final BaseOperation operation = new BaseOperation(new OperationContext()); assertThat(operation.getGracePeriodSeconds(), is(-1L)); }
public Long getGracePeriodSeconds() { return gracePeriodSeconds; }
BaseOperation extends OperationSupport implements
  OperationInfo,
  MixedOperation<T, L, D, R>,
  Resource<T, D> { public Long getGracePeriodSeconds() { return gracePeriodSeconds; } }
BaseOperation extends OperationSupport implements
  OperationInfo,
  MixedOperation<T, L, D, R>,
  Resource<T, D> { public Long getGracePeriodSeconds() { return gracePeriodSeconds; } protected  BaseOperation(OperationContext ctx); }
BaseOperation extends OperationSupport implements
  OperationInfo,
  MixedOperation<T, L, D, R>,
  Resource<T, D> { public Long getGracePeriodSeconds() { return gracePeriodSeconds; } protected  BaseOperation(OperationContext ctx); BaseOperation<T, L, D, R> newInstance(OperationContext context); @Override T get(); @Override T require(); T getMandatory(); RootPaths getRootPaths(); @Override D edit(); @Override R withName(String name); @Override Replaceable<T, T> lockResourceVersion(String resourceVersion); @Override NonNamespaceOperation<T, L, D, R> inNamespace(String namespace); @Override NonNamespaceOperation<T, L, D, R> inAnyNamespace(); @Override EditReplacePatchDeletable<T, T, D, Boolean> cascading(boolean cascading); @Override R load(InputStream is); @Override R load(URL url); @Override R load(File file); @Override R load(String path); @Override Gettable<T> fromServer(); @SafeVarargs @Override final T create(T... resources); @Override T create(T resource); @Override D createNew(); @Override D createOrReplaceWithNew(); @SafeVarargs @Override final T createOrReplace(T... items); @Override FilterWatchListDeletable<T, L, Boolean, Watch> withLabels(Map<String, String> labels); @Override FilterWatchListDeletable<T, L, Boolean, Watch> withLabelSelector(LabelSelector selector); @Override @Deprecated FilterWatchListDeletable<T, L, Boolean, Watch> withoutLabels(Map<String, String> labels); @Override FilterWatchListDeletable<T, L, Boolean, Watch> withLabelIn(String key, String... values); @Override FilterWatchListDeletable<T, L, Boolean, Watch> withLabelNotIn(String key, String... values); @Override FilterWatchListDeletable<T, L, Boolean, Watch> withLabel(String key, String value); @Override FilterWatchListDeletable<T, L, Boolean, Watch> withLabel(String key); @Override FilterWatchListDeletable<T, L, Boolean, Watch> withoutLabel(String key, String value); @Override FilterWatchListDeletable<T, L, Boolean, Watch> withoutLabel(String key); @Override FilterWatchListDeletable<T, L, Boolean, Watch> withFields(Map<String, String> fields); @Override FilterWatchListDeletable<T, L, Boolean, Watch> withField(String key, String value); @Override FilterWatchListDeletable<T, L, Boolean, Watch> withInvolvedObject(ObjectReference objectReference); @Override @Deprecated FilterWatchListDeletable<T, L, Boolean, Watch> withoutFields(Map<String, String> fields); @Override FilterWatchListDeletable<T, L, Boolean, Watch> withoutField(String key, String value); String getLabelQueryParam(); String getFieldQueryParam(); L list(); L list(Integer limitVal, String continueVal); L list(ListOptions listOptions); @Override Boolean delete(); @SafeVarargs @Override final Boolean delete(T... items); @Override Boolean delete(List<T> items); @Override T updateStatus(T item); BaseOperation<T, L, D, R> withItem(T item); @Override R withResourceVersion(String resourceVersion); Watch watch(final Watcher<T> watcher); @Override Watch watch(String resourceVersion, Watcher<T> watcher); @Override Watch watch(ListOptions options, final Watcher<T> watcher); @Override T replace(T item); @Override T patch(T item); @Override boolean isResourceNamespaced(); Boolean isCascading(); T getItem(); String getResourceVersion(); @Deprecated Boolean getReloadingFromServer(); Boolean isReloadingFromServer(); Long getGracePeriodSeconds(); DeletionPropagation getPropagationPolicy(); String getResourceT(); Class<T> getType(); Class<L> getListType(); Class<D> getDoneableType(); @Override String getKind(); @Override String getOperationType(); @Override OperationInfo forOperationType(String type); @Override FilterWatchListDeletable<T, L, Boolean, Watch> withGracePeriod(long gracePeriodSeconds); @Override EditReplacePatchDeletable<T, T, D, Boolean> withPropagationPolicy(DeletionPropagation propagationPolicy); @Override BaseOperation<T, L, D, R> withWaitRetryBackoff(long initialBackoff, TimeUnit backoffUnit, double backoffMultiplier); String getApiVersion(); boolean isApiGroup(); @Override Boolean isReady(); @Override T waitUntilReady(long amount, TimeUnit timeUnit); @Override T waitUntilCondition(Predicate<T> condition, long amount, TimeUnit timeUnit); void setType(Class<T> type); void setListType(Class<L> listType); void setNamespace(String namespace); }
BaseOperation extends OperationSupport implements
  OperationInfo,
  MixedOperation<T, L, D, R>,
  Resource<T, D> { public Long getGracePeriodSeconds() { return gracePeriodSeconds; } protected  BaseOperation(OperationContext ctx); BaseOperation<T, L, D, R> newInstance(OperationContext context); @Override T get(); @Override T require(); T getMandatory(); RootPaths getRootPaths(); @Override D edit(); @Override R withName(String name); @Override Replaceable<T, T> lockResourceVersion(String resourceVersion); @Override NonNamespaceOperation<T, L, D, R> inNamespace(String namespace); @Override NonNamespaceOperation<T, L, D, R> inAnyNamespace(); @Override EditReplacePatchDeletable<T, T, D, Boolean> cascading(boolean cascading); @Override R load(InputStream is); @Override R load(URL url); @Override R load(File file); @Override R load(String path); @Override Gettable<T> fromServer(); @SafeVarargs @Override final T create(T... resources); @Override T create(T resource); @Override D createNew(); @Override D createOrReplaceWithNew(); @SafeVarargs @Override final T createOrReplace(T... items); @Override FilterWatchListDeletable<T, L, Boolean, Watch> withLabels(Map<String, String> labels); @Override FilterWatchListDeletable<T, L, Boolean, Watch> withLabelSelector(LabelSelector selector); @Override @Deprecated FilterWatchListDeletable<T, L, Boolean, Watch> withoutLabels(Map<String, String> labels); @Override FilterWatchListDeletable<T, L, Boolean, Watch> withLabelIn(String key, String... values); @Override FilterWatchListDeletable<T, L, Boolean, Watch> withLabelNotIn(String key, String... values); @Override FilterWatchListDeletable<T, L, Boolean, Watch> withLabel(String key, String value); @Override FilterWatchListDeletable<T, L, Boolean, Watch> withLabel(String key); @Override FilterWatchListDeletable<T, L, Boolean, Watch> withoutLabel(String key, String value); @Override FilterWatchListDeletable<T, L, Boolean, Watch> withoutLabel(String key); @Override FilterWatchListDeletable<T, L, Boolean, Watch> withFields(Map<String, String> fields); @Override FilterWatchListDeletable<T, L, Boolean, Watch> withField(String key, String value); @Override FilterWatchListDeletable<T, L, Boolean, Watch> withInvolvedObject(ObjectReference objectReference); @Override @Deprecated FilterWatchListDeletable<T, L, Boolean, Watch> withoutFields(Map<String, String> fields); @Override FilterWatchListDeletable<T, L, Boolean, Watch> withoutField(String key, String value); String getLabelQueryParam(); String getFieldQueryParam(); L list(); L list(Integer limitVal, String continueVal); L list(ListOptions listOptions); @Override Boolean delete(); @SafeVarargs @Override final Boolean delete(T... items); @Override Boolean delete(List<T> items); @Override T updateStatus(T item); BaseOperation<T, L, D, R> withItem(T item); @Override R withResourceVersion(String resourceVersion); Watch watch(final Watcher<T> watcher); @Override Watch watch(String resourceVersion, Watcher<T> watcher); @Override Watch watch(ListOptions options, final Watcher<T> watcher); @Override T replace(T item); @Override T patch(T item); @Override boolean isResourceNamespaced(); Boolean isCascading(); T getItem(); String getResourceVersion(); @Deprecated Boolean getReloadingFromServer(); Boolean isReloadingFromServer(); Long getGracePeriodSeconds(); DeletionPropagation getPropagationPolicy(); String getResourceT(); Class<T> getType(); Class<L> getListType(); Class<D> getDoneableType(); @Override String getKind(); @Override String getOperationType(); @Override OperationInfo forOperationType(String type); @Override FilterWatchListDeletable<T, L, Boolean, Watch> withGracePeriod(long gracePeriodSeconds); @Override EditReplacePatchDeletable<T, T, D, Boolean> withPropagationPolicy(DeletionPropagation propagationPolicy); @Override BaseOperation<T, L, D, R> withWaitRetryBackoff(long initialBackoff, TimeUnit backoffUnit, double backoffMultiplier); String getApiVersion(); boolean isApiGroup(); @Override Boolean isReady(); @Override T waitUntilReady(long amount, TimeUnit timeUnit); @Override T waitUntilCondition(Predicate<T> condition, long amount, TimeUnit timeUnit); void setType(Class<T> type); void setListType(Class<L> listType); void setNamespace(String namespace);  }