Class ShareInfo
- java.lang.Object
-
- ch.systemsx.cisd.openbis.dss.generic.shared.api.v1.ShareInfo
-
- All Implemented Interfaces:
java.io.Serializable
@JsonObject("ShareInfo") public class ShareInfo extends java.lang.Object implements java.io.Serializable
Information about a share.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ShareInfo(java.lang.String shareId, long freeSpace)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getFreeSpace()
java.lang.String
getShareId()
boolean
isIgnoredForShuffling()
Returnstrue
if the share should not be used by shuffling maintenance or post-registration tasks.boolean
isIncoming()
Returnstrue
if the share is associated with one or more incoming directories.boolean
isWithdrawShare()
Returnstrue
if the share should be emptied by shuffling maintenance tasks.void
setIgnoredForShuffling(boolean ignoredForShuffling)
void
setIncoming(boolean incoming)
void
setWithdrawShare(boolean withdrawShare)
-
-
-
Method Detail
-
getShareId
public java.lang.String getShareId()
-
getFreeSpace
public long getFreeSpace()
-
isIncoming
public boolean isIncoming()
Returnstrue
if the share is associated with one or more incoming directories.
-
setIncoming
public void setIncoming(boolean incoming)
-
isWithdrawShare
public boolean isWithdrawShare()
Returnstrue
if the share should be emptied by shuffling maintenance tasks.
-
setWithdrawShare
public void setWithdrawShare(boolean withdrawShare)
-
isIgnoredForShuffling
public boolean isIgnoredForShuffling()
Returnstrue
if the share should not be used by shuffling maintenance or post-registration tasks.
-
setIgnoredForShuffling
public void setIgnoredForShuffling(boolean ignoredForShuffling)
-
-