Package com.biglybt.core.category.impl
Class CategoryImpl
- java.lang.Object
-
- com.biglybt.core.tag.impl.TagBase
-
- com.biglybt.core.category.impl.CategoryImpl
-
- All Implemented Interfaces:
Category
,Tag
,TagDownload
,TagFeature
,TagFeatureExecOnAssign
,TagFeatureFileLocation
,TagFeatureLimits
,TagFeatureNotifications
,TagFeatureProperties
,TagFeatureRateLimit
,TagFeatureRSSFeed
,TagFeatureRunState
,TagFeatureTranscode
,DataSourceResolver.ExportableDataSource
,SimpleTimer.TimerTickReceiver
,Tag
,java.lang.Comparable
public class CategoryImpl extends TagBase implements Category, java.lang.Comparable, TagDownload
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.biglybt.core.tag.TagFeatureExecOnAssign
TagFeatureExecOnAssign.OptionsTemplateHandler
-
Nested classes/interfaces inherited from interface com.biglybt.core.tag.TagFeatureProperties
TagFeatureProperties.TagProperty, TagFeatureProperties.TagPropertyListener
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<java.lang.String,java.lang.String>
attributes
private ListenerManager<CategoryListener>
category_listeners
private boolean
destroyed
private LimitedRateGroup
download_limiter
(package private) int
download_speed
private static int
LDT_CATEGORY_DMADDED
private static int
LDT_CATEGORY_DMREMOVED
private CopyOnWriteList<DownloadManager>
managers_cow
(package private) java.lang.String
sName
private static java.util.concurrent.atomic.AtomicInteger
tag_ids
private int
type
private LimitedRateGroup
upload_limiter
private java.lang.Object
UPLOAD_PRIORITY_KEY
(package private) int
upload_speed
-
Fields inherited from class com.biglybt.core.tag.impl.TagBase
AT_BYTES_DOWN, AT_BYTES_UP, AT_CAN_BE_PUBLIC, AT_COLOR_ID, AT_COLORS_ID, AT_DESCRIPTION, AT_EOS_ASSIGN_TAGS, AT_EOS_OPTIONS_TEMPLATE, AT_EOS_PM, AT_EOS_SCRIPT, AT_FL_COPY_COMP, AT_FL_COPY_COMP_OPT, AT_FL_INIT_LOC, AT_FL_INIT_LOC_OPT, AT_FL_MOVE_ASSIGN, AT_FL_MOVE_ASSIGN_OPT, AT_FL_MOVE_COMP, AT_FL_MOVE_COMP_OPT, AT_FL_MOVE_REM, AT_FL_MOVE_REM_OPT, AT_FL_PREVENT_DELETE, AT_FLAGS, AT_GROUP, AT_IMAGE_FILE, AT_IMAGE_ID, AT_IMAGE_SORT_ORDER, AT_LIMIT_ORDERING, AT_MAX_TAGGABLES, AT_NOTIFICATION_POST, AT_NOTIFICATION_PUBLISH, AT_ORIGINAL_NAME, AT_PROPERTY_PREFIX, AT_PUBLIC, AT_RATELIMIT_BOOST, AT_RATELIMIT_DOWN, AT_RATELIMIT_FP_SEEDING, AT_RATELIMIT_MAX_ACTIVE_DL, AT_RATELIMIT_MAX_AGGREGATE_SR, AT_RATELIMIT_MAX_AGGREGATE_SR_ACTION, AT_RATELIMIT_MAX_AGGREGATE_SR_PRIORITY, AT_RATELIMIT_MAX_SR, AT_RATELIMIT_MAX_SR_ACTION, AT_RATELIMIT_MIN_SR, AT_RATELIMIT_UP, AT_RATELIMIT_UP_PRI, AT_REMOVAL_STRATEGY, AT_RSS_ENABLE, AT_VISIBLE, AT_XCODE_TARGET
-
Fields inherited from interface com.biglybt.core.category.Category
AT_AUTO_TRANSCODE_TARGET, AT_RSS_GEN, AT_UPLOAD_PRIORITY, TYPE_ALL, TYPE_UNCATEGORIZED, TYPE_USER
-
Fields inherited from interface com.biglybt.core.tag.Tag
FL_IS_FILTER, FL_NONE, TP_CONSTRAINT_ERROR, TP_SETTINGS_REQUESTED
-
Fields inherited from interface com.biglybt.core.tag.TagDownload
FEATURES
-
Fields inherited from interface com.biglybt.core.tag.TagFeature
TF_EXEC_ON_ASSIGN, TF_FILE_LOCATION, TF_LIMITS, TF_NONE, TF_NOTIFICATIONS, TF_PROPERTIES, TF_RATE_LIMIT, TF_RSS_FEED, TF_RUN_STATE, TF_XCODE
-
Fields inherited from interface com.biglybt.core.tag.TagFeatureExecOnAssign
ACTION_APPLY_OPTIONS_TEMPLATE, ACTION_ASSIGN_TAGS, ACTION_DESTROY, ACTION_FORCE_START, ACTION_HOST, ACTION_MOVE_INIT_SAVE_LOC, ACTION_NONE, ACTION_NOT_FORCE_START, ACTION_PAUSE, ACTION_POST_MAGNET_URI, ACTION_PUBLISH, ACTION_RESUME, ACTION_SCRIPT, ACTION_START, ACTION_STOP, ACTIONS
-
Fields inherited from interface com.biglybt.core.tag.TagFeatureFileLocation
FL_BOTH, FL_DATA, FL_DEFAULT, FL_NONE, FL_TORRENT
-
Fields inherited from interface com.biglybt.core.tag.TagFeatureLimits
OP_ADDED_TO_VUZE, OP_ADED_TO_TAG, OP_DEFAULT, RS_ARCHIVE, RS_DEFAULT, RS_DELETE_FROM_COMPUTER, RS_MOVE_TO_OLD_TAG, RS_NONE, RS_REMOVE_FROM_LIBRARY
-
Fields inherited from interface com.biglybt.core.tag.TagFeatureNotifications
NOTIFY_NONE, NOTIFY_ON_ADD, NOTIFY_ON_REMOVE
-
Fields inherited from interface com.biglybt.core.tag.TagFeatureProperties
PR_CONSTRAINT, PR_TRACKER_TEMPLATES, PR_TRACKERS, PR_UNTAGGED, PT_BOOLEAN, PT_LONG, PT_STRING_LIST
-
Fields inherited from interface com.biglybt.core.tag.TagFeatureRateLimit
AT_RATELIMIT_MAX_AGGREGATE_SR_PRIORITY_DEFAULT, SR_ACTION_ARCHIVE, SR_ACTION_PAUSE, SR_ACTION_QUEUE, SR_ACTION_REMOVE_FROM_COMPUTER, SR_ACTION_REMOVE_FROM_LIBRARY, SR_ACTION_STOP, SR_AGGREGATE_ACTION_DEFAULT, SR_INDIVIDUAL_ACTION_DEFAULT
-
Fields inherited from interface com.biglybt.core.tag.TagFeatureRunState
RSC_ALL, RSC_ARCHIVE, RSC_NONE, RSC_PAUSE, RSC_REMOVE_FROM_COMPUTER, RSC_REMOVE_FROM_LIBRARY, RSC_RESUME, RSC_START, RSC_START_STOP_PAUSE, RSC_STOP, RSC_STOP_PAUSE
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CategoryImpl(CategoryManagerImpl manager, java.lang.String sName, int maxup, int maxdown, java.util.Map<java.lang.String,java.lang.String> _attributes)
protected
CategoryImpl(CategoryManagerImpl manager, java.lang.String sName, int type, java.util.Map<java.lang.String,java.lang.String> _attributes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCategoryListener(CategoryListener l)
Add a Category Listenervoid
addManager(DownloadManagerState manager_state)
Add a DownloadManager to this category.void
addTaggable(Taggable t)
int
compareTo(java.lang.Object b)
protected void
destroy()
void
dump(IndentWriter writer)
protected java.util.Map<java.lang.String,java.lang.String>
getAttributes()
boolean
getBooleanAttribute(java.lang.String name)
boolean
getCanBePublicDefault()
java.util.List<DownloadManager>
getDownloadManagers(java.util.List<DownloadManager> all_dms)
Retrieve a list of DownloadManagers for this categoryint
getDownloadSpeed()
int
getIntAttribute(java.lang.String name)
private int
getIntAttribute(java.lang.String name, int def)
java.lang.String
getName()
Retrieve the name of the category.boolean[]
getPerformableOperations(int[] ops)
int
getRunStateCapabilities()
java.lang.String
getStringAttribute(java.lang.String name)
int
getTagCurrentDownloadRate()
int
getTagCurrentUploadRate()
int
getTagDownloadLimit()
int
getTaggableTypes()
java.util.Set<Taggable>
getTagged()
int
getTaggedCount()
java.util.Set<DownloadManager>
getTaggedDownloads()
java.lang.String
getTagName(boolean localize)
java.lang.String[]
getTagTranscodeTarget()
int
getTagUploadLimit()
int
getTagUploadPriority()
int
getType()
Retrieves what type of Category this isint
getUploadSpeed()
boolean
hasRunStateCapability(int capability)
boolean
hasTaggable(Taggable t)
boolean[]
isTagAuto()
void
performOperation(int op)
void
removeCategoryListener(CategoryListener l)
Remove a Category Listenervoid
removeManager(DownloadManagerState manager_state)
Remove a DownloadManager object from this Category.void
removeTag()
void
removeTaggable(Taggable t)
protected void
setAttributes(java.util.Map<java.lang.String,java.lang.String> a)
void
setBooleanAttribute(java.lang.String name, boolean value)
void
setDownloadSpeed(int speed)
void
setIntAttribute(java.lang.String name, int value)
void
setStringAttribute(java.lang.String name, java.lang.String value)
void
setTagDownloadLimit(int bps)
void
setTagTranscodeTarget(java.lang.String uid, java.lang.String display_name)
void
setTagUploadLimit(int bps)
void
setTagUploadPriority(int priority)
void
setUploadSpeed(int speed)
boolean
supportsTagDownloadLimit()
boolean
supportsTagRates()
boolean
supportsTagTranscode()
boolean
supportsTagUploadLimit()
-
Methods inherited from class com.biglybt.core.tag.impl.TagBase
addListener, addTag, addTagListener, canBePublic, checkMaximumTaggables, closing, createTagProperty, exportDataSource, generate, getActionScript, getColor, getColors, getDescription, getFirstPrioritySeeding, getFlag, getGroup, getGroupContainer, getImageFile, getImageID, getImageSortOrder, getManager, getMaxActiveDownloads, getMaximumTaggables, getNotifyMessageChannel, getOptionsTemplateHandler, getOrdering, getPostingNotifications, getPostMessageChannel, getPreventDelete, getProperty, getPublicDefault, getRecentHistory, getRemovalStrategy, getSupportedActions, getSupportedProperties, getTag, getTagAggregateShareRatio, getTagAssigns, getTagBoost, getTagCopyOnCompleteFolder, getTagCopyOnCompleteOptions, getTagDownloadTotal, getTaggableAddedTime, getTaggables, getTagID, getTagInitialSaveFolder, getTagInitialSaveOptions, getTagMaxAggregateShareRatio, getTagMaxAggregateShareRatioAction, getTagMaxAggregateShareRatioHasPriority, getTagMaxShareRatio, getTagMaxShareRatioAction, getTagMinShareRatio, getTagMoveOnAssignFolder, getTagMoveOnAssignOptions, getTagMoveOnCompleteFolder, getTagMoveOnCompleteOptions, getTagMoveOnRemoveFolder, getTagMoveOnRemoveOptions, getTagName, getTagNameRaw, getTagSessionDownloadTotal, getTagSessionDownloadTotalCurrent, getTagSessionUploadTotal, getTagSessionUploadTotalCurrent, getTagType, getTagUID, getTagUploadTotal, getTransientProperty, getVisibleDefault, getVuzeFile, initialized, isActionEnabled, isAnyActionEnabled, isColorDefault, isPublic, isTagRSSFeedEnabled, isVisible, readBooleanAttribute, readLongAttribute, readLongListAttribute, readMapAttribute, readStringAttribute, readStringListAttribute, removeListener, removeTagListener, requestAttention, resetTagSessionDownloadTotal, resetTagSessionUploadTotal, setActionEnabled, setActionScript, setCanBePublic, setColor, setColors, setDescription, setFirstPrioritySeeding, setFlag, setGroup, setImageFile, setImageID, setImageSortOrder, setMaxActiveDownloads, setMaximumTaggables, setNotifyMessageChannel, setOrdering, setPostingNotifications, setPostMessageChannel, setPreventDelete, setPublic, setRecentHistoryRetention, setRemovalStrategy, setTagAssigns, setTagBoost, setTagCopyOnCompleteFolder, setTagCopyOnCompleteOptions, setTagInitialSaveFolder, setTagInitialSaveOptions, setTagMaxAggregateShareRatio, setTagMaxAggregateShareRatioAction, setTagMaxAggregateShareRatioHasPriority, setTagMaxShareRatio, setTagMaxShareRatioAction, setTagMinShareRatio, setTagMoveOnAssignFolder, setTagMoveOnAssignOptions, setTagMoveOnCompleteFolder, setTagMoveOnCompleteOptions, setTagMoveOnRemoveFolder, setTagMoveOnRemoveOptions, setTagName, setTagRSSFeedEnabled, setTransientProperty, setVisible, supportsAction, supportsTagCopyOnComplete, supportsTagInitialSaveFolder, supportsTagMoveOnAssign, supportsTagMoveOnComplete, supportsTagMoveOnRemove, sync, tick, writeBooleanAttribute, writeLongAttribute, writeLongListAttribute, writeMapAttribute, writeStringAttribute, writeStringListAttribute
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.biglybt.core.tag.Tag
addTagListener, canBePublic, dependsOnTags, getColor, getColors, getDescription, getFlag, getGroup, getGroupContainer, getImageFile, getImageID, getImageSortOrder, getStatus, getTaggableAddedTime, getTagID, getTagType, getTagUID, getTransientProperty, getVuzeFile, isColorDefault, isPublic, isVisible, removeTagListener, requestAttention, setCanBePublic, setColor, setColors, setDescription, setFlag, setGroup, setImageFile, setImageID, setImageSortOrder, setPublic, setTagName, setTransientProperty, setVisible
-
Methods inherited from interface com.biglybt.pif.tag.Tag
addListener, getTaggables, getTagName, removeListener
-
Methods inherited from interface com.biglybt.core.tag.TagFeature
getTag
-
Methods inherited from interface com.biglybt.core.tag.TagFeatureExecOnAssign
getActionScript, getOptionsTemplateHandler, getPostMessageChannel, getSupportedActions, getTagAssigns, isActionEnabled, isAnyActionEnabled, setActionEnabled, setActionScript, setPostMessageChannel, setTagAssigns, supportsAction
-
Methods inherited from interface com.biglybt.core.tag.TagFeatureFileLocation
getPreventDelete, getTagCopyOnCompleteFolder, getTagCopyOnCompleteOptions, getTagInitialSaveFolder, getTagInitialSaveOptions, getTagMoveOnAssignFolder, getTagMoveOnAssignOptions, getTagMoveOnCompleteFolder, getTagMoveOnCompleteOptions, getTagMoveOnRemoveFolder, getTagMoveOnRemoveOptions, setPreventDelete, setTagCopyOnCompleteFolder, setTagCopyOnCompleteOptions, setTagInitialSaveFolder, setTagInitialSaveOptions, setTagMoveOnAssignFolder, setTagMoveOnAssignOptions, setTagMoveOnCompleteFolder, setTagMoveOnCompleteOptions, setTagMoveOnRemoveFolder, setTagMoveOnRemoveOptions, supportsTagCopyOnComplete, supportsTagInitialSaveFolder, supportsTagMoveOnAssign, supportsTagMoveOnComplete, supportsTagMoveOnRemove
-
Methods inherited from interface com.biglybt.core.tag.TagFeatureLimits
getMaximumTaggables, getOrdering, getRemovalStrategy, setMaximumTaggables, setOrdering, setRemovalStrategy
-
Methods inherited from interface com.biglybt.core.tag.TagFeatureNotifications
getNotifyMessageChannel, getPostingNotifications, setNotifyMessageChannel, setPostingNotifications
-
Methods inherited from interface com.biglybt.core.tag.TagFeatureProperties
getProperty, getSupportedProperties
-
Methods inherited from interface com.biglybt.core.tag.TagFeatureRateLimit
getFirstPrioritySeeding, getMaxActiveDownloads, getRecentHistory, getTagAggregateShareRatio, getTagBoost, getTagDownloadTotal, getTagMaxAggregateShareRatio, getTagMaxAggregateShareRatioAction, getTagMaxAggregateShareRatioHasPriority, getTagMaxShareRatio, getTagMaxShareRatioAction, getTagMinShareRatio, getTagSessionDownloadTotal, getTagSessionUploadTotal, getTagUploadTotal, resetTagSessionDownloadTotal, resetTagSessionUploadTotal, setFirstPrioritySeeding, setMaxActiveDownloads, setRecentHistoryRetention, setTagBoost, setTagMaxAggregateShareRatio, setTagMaxAggregateShareRatioAction, setTagMaxAggregateShareRatioHasPriority, setTagMaxShareRatio, setTagMaxShareRatioAction, setTagMinShareRatio
-
Methods inherited from interface com.biglybt.core.tag.TagFeatureRSSFeed
isTagRSSFeedEnabled, setTagRSSFeedEnabled
-
-
-
-
Field Detail
-
sName
final java.lang.String sName
-
type
private final int type
-
managers_cow
private final CopyOnWriteList<DownloadManager> managers_cow
-
upload_speed
int upload_speed
-
download_speed
int download_speed
-
UPLOAD_PRIORITY_KEY
private final java.lang.Object UPLOAD_PRIORITY_KEY
-
attributes
private final java.util.Map<java.lang.String,java.lang.String> attributes
-
tag_ids
private static final java.util.concurrent.atomic.AtomicInteger tag_ids
-
upload_limiter
private final LimitedRateGroup upload_limiter
-
download_limiter
private final LimitedRateGroup download_limiter
-
destroyed
private boolean destroyed
-
LDT_CATEGORY_DMADDED
private static final int LDT_CATEGORY_DMADDED
- See Also:
- Constant Field Values
-
LDT_CATEGORY_DMREMOVED
private static final int LDT_CATEGORY_DMREMOVED
- See Also:
- Constant Field Values
-
category_listeners
private final ListenerManager<CategoryListener> category_listeners
-
-
Constructor Detail
-
CategoryImpl
protected CategoryImpl(CategoryManagerImpl manager, java.lang.String sName, int maxup, int maxdown, java.util.Map<java.lang.String,java.lang.String> _attributes)
-
CategoryImpl
protected CategoryImpl(CategoryManagerImpl manager, java.lang.String sName, int type, java.util.Map<java.lang.String,java.lang.String> _attributes)
-
-
Method Detail
-
addCategoryListener
public void addCategoryListener(CategoryListener l)
Description copied from interface:Category
Add a Category Listener- Specified by:
addCategoryListener
in interfaceCategory
- Parameters:
l
- Listener to add
-
removeCategoryListener
public void removeCategoryListener(CategoryListener l)
Description copied from interface:Category
Remove a Category Listener- Specified by:
removeCategoryListener
in interfaceCategory
- Parameters:
l
- Listener to remove
-
getName
public java.lang.String getName()
Description copied from interface:Category
Retrieve the name of the category. All category names are unique.
-
getType
public int getType()
Description copied from interface:Category
Retrieves what type of Category this is
-
isTagAuto
public boolean[] isTagAuto()
-
getDownloadManagers
public java.util.List<DownloadManager> getDownloadManagers(java.util.List<DownloadManager> all_dms)
Description copied from interface:Category
Retrieve a list of DownloadManagers for this category- Specified by:
getDownloadManagers
in interfaceCategory
- Returns:
- DownloadManager List
-
addManager
public void addManager(DownloadManagerState manager_state)
Description copied from interface:Category
Add a DownloadManager to this category. Used by DownloadManager. You should not have to add a DownloadManager object manually. If you wish to change a DownloadManager's category, use DownloadManager.setCategory(..) instead.- Specified by:
addManager
in interfaceCategory
- Parameters:
manager_state
- DownloadManager object to add to Category
-
removeManager
public void removeManager(DownloadManagerState manager_state)
Description copied from interface:Category
Remove a DownloadManager object from this Category. Used by DownloadManager. You should not have to add a DownloadManager object manually. If you wish to change a DownloadManager's category, use DownloadManager.setCategory(..) instead.- Specified by:
removeManager
in interfaceCategory
- Parameters:
manager_state
- DownloadManager object to remove from Category
-
addTaggable
public void addTaggable(Taggable t)
- Specified by:
addTaggable
in interfaceTag
- Overrides:
addTaggable
in classTagBase
-
removeTaggable
public void removeTaggable(Taggable t)
- Specified by:
removeTaggable
in interfaceTag
- Overrides:
removeTaggable
in classTagBase
-
setDownloadSpeed
public void setDownloadSpeed(int speed)
- Specified by:
setDownloadSpeed
in interfaceCategory
-
getDownloadSpeed
public int getDownloadSpeed()
- Specified by:
getDownloadSpeed
in interfaceCategory
-
setUploadSpeed
public void setUploadSpeed(int speed)
- Specified by:
setUploadSpeed
in interfaceCategory
-
getUploadSpeed
public int getUploadSpeed()
- Specified by:
getUploadSpeed
in interfaceCategory
-
setAttributes
protected void setAttributes(java.util.Map<java.lang.String,java.lang.String> a)
-
getAttributes
protected java.util.Map<java.lang.String,java.lang.String> getAttributes()
-
getStringAttribute
public java.lang.String getStringAttribute(java.lang.String name)
- Specified by:
getStringAttribute
in interfaceCategory
-
setStringAttribute
public void setStringAttribute(java.lang.String name, java.lang.String value)
- Specified by:
setStringAttribute
in interfaceCategory
-
getIntAttribute
public int getIntAttribute(java.lang.String name)
- Specified by:
getIntAttribute
in interfaceCategory
-
getIntAttribute
private int getIntAttribute(java.lang.String name, int def)
-
setIntAttribute
public void setIntAttribute(java.lang.String name, int value)
- Specified by:
setIntAttribute
in interfaceCategory
-
getBooleanAttribute
public boolean getBooleanAttribute(java.lang.String name)
- Specified by:
getBooleanAttribute
in interfaceCategory
-
setBooleanAttribute
public void setBooleanAttribute(java.lang.String name, boolean value)
- Specified by:
setBooleanAttribute
in interfaceCategory
-
getTaggableTypes
public int getTaggableTypes()
- Specified by:
getTaggableTypes
in interfaceTag
-
getTagName
public java.lang.String getTagName(boolean localize)
- Specified by:
getTagName
in interfaceTag
- Overrides:
getTagName
in classTagBase
-
supportsTagRates
public boolean supportsTagRates()
- Specified by:
supportsTagRates
in interfaceTagFeatureRateLimit
-
supportsTagUploadLimit
public boolean supportsTagUploadLimit()
- Specified by:
supportsTagUploadLimit
in interfaceTagFeatureRateLimit
-
supportsTagDownloadLimit
public boolean supportsTagDownloadLimit()
- Specified by:
supportsTagDownloadLimit
in interfaceTagFeatureRateLimit
-
getTagUploadLimit
public int getTagUploadLimit()
- Specified by:
getTagUploadLimit
in interfaceTagFeatureRateLimit
- Returns:
- Max Upload Speed in bytes/sec
-
setTagUploadLimit
public void setTagUploadLimit(int bps)
- Specified by:
setTagUploadLimit
in interfaceTagFeatureRateLimit
-
getTagCurrentUploadRate
public int getTagCurrentUploadRate()
- Specified by:
getTagCurrentUploadRate
in interfaceTagFeatureRateLimit
-
getTagDownloadLimit
public int getTagDownloadLimit()
- Specified by:
getTagDownloadLimit
in interfaceTagFeatureRateLimit
- Returns:
- Max Download Speed in bytes/sec
-
setTagDownloadLimit
public void setTagDownloadLimit(int bps)
- Specified by:
setTagDownloadLimit
in interfaceTagFeatureRateLimit
-
getTagCurrentDownloadRate
public int getTagCurrentDownloadRate()
- Specified by:
getTagCurrentDownloadRate
in interfaceTagFeatureRateLimit
-
getTagUploadPriority
public int getTagUploadPriority()
- Specified by:
getTagUploadPriority
in interfaceTagFeatureRateLimit
-
setTagUploadPriority
public void setTagUploadPriority(int priority)
- Specified by:
setTagUploadPriority
in interfaceTagFeatureRateLimit
-
getCanBePublicDefault
public boolean getCanBePublicDefault()
- Overrides:
getCanBePublicDefault
in classTagBase
-
supportsTagTranscode
public boolean supportsTagTranscode()
- Specified by:
supportsTagTranscode
in interfaceTagFeatureTranscode
-
getTagTranscodeTarget
public java.lang.String[] getTagTranscodeTarget()
- Specified by:
getTagTranscodeTarget
in interfaceTagFeatureTranscode
-
setTagTranscodeTarget
public void setTagTranscodeTarget(java.lang.String uid, java.lang.String display_name)
- Specified by:
setTagTranscodeTarget
in interfaceTagFeatureTranscode
-
getTaggedDownloads
public java.util.Set<DownloadManager> getTaggedDownloads()
- Specified by:
getTaggedDownloads
in interfaceTagDownload
-
getTaggedCount
public int getTaggedCount()
- Specified by:
getTaggedCount
in interfaceTag
-
hasTaggable
public boolean hasTaggable(Taggable t)
- Specified by:
hasTaggable
in interfaceTag
-
getRunStateCapabilities
public int getRunStateCapabilities()
- Specified by:
getRunStateCapabilities
in interfaceTagFeatureRunState
-
hasRunStateCapability
public boolean hasRunStateCapability(int capability)
- Specified by:
hasRunStateCapability
in interfaceTagFeatureRunState
-
getPerformableOperations
public boolean[] getPerformableOperations(int[] ops)
- Specified by:
getPerformableOperations
in interfaceTagFeatureRunState
-
performOperation
public void performOperation(int op)
- Specified by:
performOperation
in interfaceTagFeatureRunState
-
removeTag
public void removeTag()
-
compareTo
public int compareTo(java.lang.Object b)
- Specified by:
compareTo
in interfacejava.lang.Comparable
-
dump
public void dump(IndentWriter writer)
-
-