Package com.biglybt.core.global.impl
Class GlobalManagerImpl.DownloadStateTagger.MyTag
- java.lang.Object
-
- com.biglybt.core.tag.impl.TagBase
-
- com.biglybt.core.tag.impl.TagWithState
-
- com.biglybt.core.tag.impl.TagDownloadWithState
-
- com.biglybt.core.global.impl.GlobalManagerImpl.DownloadStateTagger.MyTag
-
- All Implemented Interfaces:
Tag
,TagDownload
,TagFeature
,TagFeatureExecOnAssign
,TagFeatureFileLocation
,TagFeatureLimits
,TagFeatureNotifications
,TagFeatureProperties
,TagFeatureRateLimit
,TagFeatureRSSFeed
,TagFeatureRunState
,TagFeatureTranscode
,TaggableResolver.LifecycleControlListener
,DataSourceResolver.ExportableDataSource
,SimpleTimer.TimerTickReceiver
,Tag
- Enclosing class:
- GlobalManagerImpl.DownloadStateTagger
private class GlobalManagerImpl.DownloadStateTagger.MyTag extends TagDownloadWithState
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.biglybt.core.tag.impl.TagWithState
TagWithState.ActivityCallback
-
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 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.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 Constructor Description MyTag(int tag_id, java.lang.String name, boolean do_rates, boolean do_up, boolean do_down, boolean do_bytes, int run_states)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
getCanBePublicDefault()
protected boolean
getVisibleDefault()
void
removeTag()
-
Methods inherited from class com.biglybt.core.tag.impl.TagDownloadWithState
addTaggable, canTaggableBeRemoved, checkMaximumTaggables, dependsOnTags, getFirstPrioritySeeding, getMaximumTaggables, getPerformableOperations, getRunStateCapabilities, getStatus, getSupportedActions, getSupportedProperties, getTagAggregateShareRatio, getTagCurrentDownloadRate, getTagCurrentUploadRate, getTagDownloadLimit, getTaggableTypes, getTaggedDownloads, getTagMaxAggregateShareRatio, getTagMaxAggregateShareRatioAction, getTagMaxAggregateShareRatioHasPriority, getTagMaxShareRatio, getTagMaxShareRatioAction, getTagMinShareRatio, getTagSessionDownloadTotalCurrent, getTagSessionUploadTotalCurrent, getTagTranscodeTarget, getTagUploadLimit, getTagUploadPriority, hasRunStateCapability, isTagAuto, performOperation, setFirstPrioritySeeding, setNotifyMessageChannel, setPreventDelete, setSupportsFileLocation, setSupportsTagTranscode, setTagDownloadLimit, setTagMaxAggregateShareRatio, setTagMaxAggregateShareRatioAction, setTagMaxAggregateShareRatioHasPriority, setTagMaxShareRatio, setTagMaxShareRatioAction, setTagMinShareRatio, setTagTranscodeTarget, setTagUploadLimit, setTagUploadPriority, supportsTagCopyOnComplete, supportsTagDownloadLimit, supportsTagInitialSaveFolder, supportsTagMoveOnAssign, supportsTagMoveOnComplete, supportsTagMoveOnRemove, supportsTagRates, supportsTagTranscode, supportsTagUploadLimit, sync
-
Methods inherited from class com.biglybt.core.tag.impl.TagWithState
checkNotifications, exportDetails, exportDetails, getTaggableAddedTime, getTagged, getTaggedCount, hasTaggable, isRemoved, removeTaggable, setTagName
-
Methods inherited from class com.biglybt.core.tag.impl.TagBase
addListener, addTag, addTagListener, canBePublic, closing, createTagProperty, destroy, exportDataSource, generate, getActionScript, getColor, getColors, getDescription, getFlag, getGroup, getGroupContainer, getImageFile, getImageID, getImageSortOrder, getManager, getMaxActiveDownloads, getNotifyMessageChannel, getOptionsTemplateHandler, getOrdering, getPostingNotifications, getPostMessageChannel, getPreventDelete, getProperty, getPublicDefault, getRecentHistory, getRemovalStrategy, getTag, getTagAssigns, getTagBoost, getTagCopyOnCompleteFolder, getTagCopyOnCompleteOptions, getTagDownloadTotal, getTaggables, getTagID, getTagInitialSaveFolder, getTagInitialSaveOptions, getTagMoveOnAssignFolder, getTagMoveOnAssignOptions, getTagMoveOnCompleteFolder, getTagMoveOnCompleteOptions, getTagMoveOnRemoveFolder, getTagMoveOnRemoveOptions, getTagName, getTagName, getTagNameRaw, getTagSessionDownloadTotal, getTagSessionUploadTotal, getTagType, getTagUID, getTagUploadTotal, getTransientProperty, 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, setFlag, setGroup, setImageFile, setImageID, setImageSortOrder, setMaxActiveDownloads, setMaximumTaggables, setOrdering, setPostingNotifications, setPostMessageChannel, setPublic, setRecentHistoryRetention, setRemovalStrategy, setTagAssigns, setTagBoost, setTagCopyOnCompleteFolder, setTagCopyOnCompleteOptions, setTagInitialSaveFolder, setTagInitialSaveOptions, setTagMoveOnAssignFolder, setTagMoveOnAssignOptions, setTagMoveOnCompleteFolder, setTagMoveOnCompleteOptions, setTagMoveOnRemoveFolder, setTagMoveOnRemoveOptions, setTagRSSFeedEnabled, setTransientProperty, setVisible, supportsAction, 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, getColor, getColors, getDescription, getFlag, getGroup, getGroupContainer, getImageFile, getImageID, getImageSortOrder, getTaggableAddedTime, getTagged, getTaggedCount, getTagID, getTagName, getTagType, getTagUID, getTransientProperty, getVuzeFile, hasTaggable, isColorDefault, isPublic, isVisible, removeTaggable, 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, 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, setTagCopyOnCompleteFolder, setTagCopyOnCompleteOptions, setTagInitialSaveFolder, setTagInitialSaveOptions, setTagMoveOnAssignFolder, setTagMoveOnAssignOptions, setTagMoveOnCompleteFolder, setTagMoveOnCompleteOptions, setTagMoveOnRemoveFolder, setTagMoveOnRemoveOptions
-
Methods inherited from interface com.biglybt.core.tag.TagFeatureLimits
getOrdering, getRemovalStrategy, setMaximumTaggables, setOrdering, setRemovalStrategy
-
Methods inherited from interface com.biglybt.core.tag.TagFeatureNotifications
getNotifyMessageChannel, getPostingNotifications, setPostingNotifications
-
Methods inherited from interface com.biglybt.core.tag.TagFeatureProperties
getProperty
-
Methods inherited from interface com.biglybt.core.tag.TagFeatureRateLimit
getMaxActiveDownloads, getRecentHistory, getTagBoost, getTagDownloadTotal, getTagSessionDownloadTotal, getTagSessionUploadTotal, getTagUploadTotal, resetTagSessionDownloadTotal, resetTagSessionUploadTotal, setMaxActiveDownloads, setRecentHistoryRetention, setTagBoost
-
Methods inherited from interface com.biglybt.core.tag.TagFeatureRSSFeed
isTagRSSFeedEnabled, setTagRSSFeedEnabled
-
-
-
-
Method Detail
-
getVisibleDefault
protected boolean getVisibleDefault()
- Overrides:
getVisibleDefault
in classTagBase
-
getCanBePublicDefault
protected boolean getCanBePublicDefault()
- Overrides:
getCanBePublicDefault
in classTagBase
-
removeTag
public void removeTag()
- Specified by:
removeTag
in interfaceTag
- Overrides:
removeTag
in classTagDownloadWithState
-
-