public class DeprecateOptions extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DeprecateOptions.State |
| Constructor and Description |
|---|
DeprecateOptions() |
| Modifier and Type | Method and Description |
|---|---|
DeprecateOptions |
deleted(Date deleted) |
DeprecateOptions |
deprecated(Date deprecated) |
Date |
getDeleted()
Optional RFC3339 timestamp for when the deprecation state was changed to DELETED.
|
Date |
getDeprecated()
Optional RFC3339 timestamp for when the deprecation state was changed to DEPRECATED.
|
Date |
getObsolete()
Optional RFC3339 timestamp for when the deprecation state was changed to OBSOLETE.
|
URI |
getReplacement()
Optional URL for replacement of deprecated resource.
|
DeprecateOptions.State |
getState()
The new deprecation state.
|
DeprecateOptions |
obsolete(Date obsolete) |
DeprecateOptions |
replacement(URI replacement) |
DeprecateOptions |
state(DeprecateOptions.State state) |
public DeprecateOptions.State getState()
public URI getReplacement()
public Date getDeprecated()
public Date getObsolete()
public Date getDeleted()
public DeprecateOptions state(DeprecateOptions.State state)
getState()public DeprecateOptions replacement(URI replacement)
getReplacement()public DeprecateOptions deprecated(Date deprecated)
getDeprecated()public DeprecateOptions obsolete(Date obsolete)
getObsolete()public DeprecateOptions deleted(Date deleted)
getDeleted()Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.