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.SerializableInformation 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 longgetFreeSpace()java.lang.StringgetShareId()booleanisIgnoredForShuffling()Returnstrueif the share should not be used by shuffling maintenance or post-registration tasks.booleanisIncoming()Returnstrueif the share is associated with one or more incoming directories.booleanisWithdrawShare()Returnstrueif the share should be emptied by shuffling maintenance tasks.voidsetIgnoredForShuffling(boolean ignoredForShuffling)voidsetIncoming(boolean incoming)voidsetWithdrawShare(boolean withdrawShare)
-
-
-
Method Detail
-
getShareId
public java.lang.String getShareId()
-
getFreeSpace
public long getFreeSpace()
-
isIncoming
public boolean isIncoming()
Returnstrueif the share is associated with one or more incoming directories.
-
setIncoming
public void setIncoming(boolean incoming)
-
isWithdrawShare
public boolean isWithdrawShare()
Returnstrueif the share should be emptied by shuffling maintenance tasks.
-
setWithdrawShare
public void setWithdrawShare(boolean withdrawShare)
-
isIgnoredForShuffling
public boolean isIgnoredForShuffling()
Returnstrueif the share should not be used by shuffling maintenance or post-registration tasks.
-
setIgnoredForShuffling
public void setIgnoredForShuffling(boolean ignoredForShuffling)
-
-