@JsonObject(value="ShareInfo")
public class ShareInfo
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
ShareInfo(java.lang.String shareId,
long freeSpace) |
| Modifier and Type | Method and Description |
|---|---|
long |
getFreeSpace() |
java.lang.String |
getShareId() |
boolean |
isIgnoredForShuffling()
Returns
true if the share should not be used by shuffling maintenance or
post-registration tasks. |
boolean |
isIncoming()
Returns
true if the share is associated with one or more incoming directories. |
boolean |
isWithdrawShare()
Returns
true if the share should be emptied by shuffling maintenance tasks. |
void |
setIgnoredForShuffling(boolean ignoredForShuffling) |
void |
setIncoming(boolean incoming) |
void |
setWithdrawShare(boolean withdrawShare) |
public java.lang.String getShareId()
public long getFreeSpace()
public boolean isIncoming()
true if the share is associated with one or more incoming directories.public void setIncoming(boolean incoming)
public boolean isWithdrawShare()
true if the share should be emptied by shuffling maintenance tasks.public void setWithdrawShare(boolean withdrawShare)
public boolean isIgnoredForShuffling()
true if the share should not be used by shuffling maintenance or
post-registration tasks.public void setIgnoredForShuffling(boolean ignoredForShuffling)