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
-
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_AUTO_APPLY_SORT_INTERVAL, 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_REMOVE_TAGS, 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_ACTIVE_LIMITS_STRICT, AT_RATELIMIT_BOOST, AT_RATELIMIT_DOWN, AT_RATELIMIT_FP_SEEDING, AT_RATELIMIT_MAX_ACTIVE_CD, 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_NOT_FP_SEEDING, AT_RATELIMIT_UP, AT_RATELIMIT_UP_PRI, AT_REMOVAL_STRATEGY, AT_RSS_ENABLE, AT_VISIBLE, AT_WEIGHT, AT_XCODE_TARGET
Fields inherited from interface com.biglybt.core.util.DataSourceResolver.ExportableDataSource
OPT_CAN_MINIMIZE, OPT_ON_TOP
Fields inherited from interface com.biglybt.core.tag.Tag
FL_IS_FILTER, FL_IS_HIDDEN_WHEN_EMPTY, 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_QUEUE, ACTION_REMOVE_TAGS, 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_FORCE_START, 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 -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
protected boolean
void
Methods inherited from class com.biglybt.core.tag.impl.TagDownloadWithState
addTaggable, addTaggableBatch, applySort, canTaggableBeRemoved, checkMaximumTaggables, dependsOnTags, getFirstPrioritySeeding, getMaximumTaggables, getNotFirstPrioritySeeding, getPerformableOperations, 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, performOperation, setAutoApplySortInterval, setFirstPrioritySeeding, setNotFirstPrioritySeeding, 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, removeTaggable, setTagName
Methods inherited from class com.biglybt.core.tag.impl.TagBase
addListener, addTag, addTagListener, canBePublic, closing, createTagProperty, destroy, exportDataSource, generate, getActionScript, getAutoApplySortInterval, getColor, getColors, getDescription, getEOAString, getFlag, getGroup, getGroupContainer, getImageFile, getImageID, getImageSortOrder, getManager, getMaxActiveDownloads, getMaxActiveSeeds, getNotifyMessageChannel, getOptionsTemplateHandler, getOrdering, getPostingNotifications, getPostMessageChannel, getPreventDelete, getPropertiesString, getProperty, getPublicDefault, getRecentHistory, getRemovalStrategy, getStrictActivityLimits, getTag, getTagAssigns, getTagBoost, getTagCopyOnCompleteFolder, getTagCopyOnCompleteOptions, getTagDownloadTotal, getTaggables, getTagID, getTagInitialSaveFolder, getTagInitialSaveOptions, getTagMoveOnAssignFolder, getTagMoveOnAssignOptions, getTagMoveOnCompleteFolder, getTagMoveOnCompleteOptions, getTagMoveOnRemoveFolder, getTagMoveOnRemoveOptions, getTagName, getTagName, getTagNameRaw, getTagRemoves, getTagSessionDownloadTotal, getTagSessionUploadTotal, getTagType, getTagUID, getTagUploadTotal, getTransientProperty, getVuzeFile, getWeight, initialized, isActionEnabled, isAnyActionEnabled, isColorDefault, isPublic, isTagRemoved, 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, setMaxActiveSeeds, setMaximumTaggables, setOrdering, setPostingNotifications, setPostMessageChannel, setPublic, setRecentHistoryRetention, setRemovalStrategy, setStrictActivityLimits, setTagAssigns, setTagBoost, setTagCopyOnCompleteFolder, setTagCopyOnCompleteOptions, setTagInitialSaveFolder, setTagInitialSaveOptions, setTagMoveOnAssignFolder, setTagMoveOnAssignOptions, setTagMoveOnCompleteFolder, setTagMoveOnCompleteOptions, setTagMoveOnRemoveFolder, setTagMoveOnRemoveOptions, setTagRemoves, setTagRSSFeedEnabled, setTransientProperty, setVisible, setWeight, 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.util.DataSourceResolver.ExportableDataSource
getBooleanOption
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, isHiddenWhenEmpty, isPublic, isTagRemoved, isVisible, removeTaggable, removeTagListener, requestAttention, setCanBePublic, setColor, setColors, setDescription, setFlag, setGroup, setHiddenWhenEmpty, 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.TagDownload
getAutoApplySortInterval, getWeight, setWeight
Methods inherited from interface com.biglybt.core.tag.TagFeature
getTag
Methods inherited from interface com.biglybt.core.tag.TagFeatureExecOnAssign
getActionScript, getEOAString, getOptionsTemplateHandler, getPostMessageChannel, getTagAssigns, getTagRemoves, isActionEnabled, isAnyActionEnabled, setActionEnabled, setActionScript, setPostMessageChannel, setTagAssigns, setTagRemoves, 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
getPropertiesString, getProperty
Methods inherited from interface com.biglybt.core.tag.TagFeatureRateLimit
getMaxActiveDownloads, getMaxActiveSeeds, getRecentHistory, getStrictActivityLimits, getTagBoost, getTagDownloadTotal, getTagSessionDownloadTotal, getTagSessionUploadTotal, getTagUploadTotal, resetTagSessionDownloadTotal, resetTagSessionUploadTotal, setMaxActiveDownloads, setMaxActiveSeeds, setRecentHistoryRetention, setStrictActivityLimits, setTagBoost
Methods inherited from interface com.biglybt.core.tag.TagFeatureRSSFeed
isTagRSSFeedEnabled, setTagRSSFeedEnabled
-
Constructor Details
-
MyTag
MyTag(int tag_id, String name, boolean do_rates, boolean do_up, boolean do_down, boolean do_bytes, int run_states)
-
-
Method Details
-
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
-