Package com.biglybt.core.tag.impl
Class TagDownloadWithState
java.lang.Object
com.biglybt.core.tag.impl.TagBase
com.biglybt.core.tag.impl.TagWithState
com.biglybt.core.tag.impl.TagDownloadWithState
- All Implemented Interfaces:
Tag
,TagDownload
,TagFeature
,TagFeatureExecOnAssign
,TagFeatureFileLocation
,TagFeatureLimits
,TagFeatureNotifications
,TagFeatureProperties
,TagFeatureRateLimit
,TagFeatureRSSFeed
,TagFeatureRunState
,TagFeatureTranscode
,TaggableResolver.LifecycleControlListener
,DataSourceResolver.ExportableDataSource
,SimpleTimer.TimerTickReceiver
,Tag
- Direct Known Subclasses:
GlobalManagerImpl.DownloadStateTagger.MyTag
public class TagDownloadWithState
extends TagWithState
implements TagDownload, TaggableResolver.LifecycleControlListener
-
Nested Class Summary
Nested ClassesNested 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
FieldsModifier and TypeFieldDescriptionprivate int
private static final boolean[]
private static final boolean[]
private int
private List
<DownloadManager> private int
private boolean
private boolean
private boolean
private boolean
private final LimitedRateGroup
private int
private int
private static Object
private boolean
private boolean
private long
private long
private int
private int
private boolean
private int
private int
private int
private static final AsyncDispatcher
private LinkedList
<TagDownloadWithState.NPCState> private long
private AtomicLong
private static Object
private boolean
private String
private BuddyPluginBeta.ChatInstance
private String
private static final String
private boolean
private long
private final DownloadManagerPeerListener
private boolean
(package private) final Object
private static final AsyncDispatcher
private int
private long
private long
private boolean
private boolean
private final TagFeatureProperties.TagProperty[]
private final LimitedRateGroup
private int
(package private) final Object
private int
private int
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, tag_type
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
ConstructorsModifierConstructorDescriptionTagDownloadWithState
(TagTypeBase tt, int tag_id, String name, boolean do_rates, boolean do_up, boolean do_down, boolean do_bytes, int run_states) protected
TagDownloadWithState
(TagTypeBase tt, int tag_id, Map details, boolean do_rates, boolean do_up, boolean do_down, boolean do_bytes, int run_states) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
addTaggableBatch
(boolean starts) void
private boolean
void
canTaggableBeRemoved
(Taggable taggable) private void
private void
private void
protected void
private void
private void
boolean
int
boolean
boolean[]
getPerformableOperations
(int[] ops) boolean[]
getPerformableOperations
(int[] ops, Predicate<Taggable> filter) int
int
int
int
int
int
int
int
int
boolean
int
int
int
protected long[]
protected long[]
String[]
int
int
boolean
hasRunStateCapability
(int capability) private void
init
(boolean _do_rates, boolean _do_up, boolean _do_down, boolean _do_bytes, int _run_states) private boolean
boolean[]
private static void
performOperation
(int op) performOperation
(int op, Predicate<Taggable> filter) performOperation
(int op, Stream<DownloadManager> dms) void
void
setAutoApplySortInterval
(int secs) void
setFirstPrioritySeeding
(boolean b) void
setNotFirstPrioritySeeding
(boolean b) void
setNotifyMessageChannel
(String channel) void
setPreventDelete
(boolean b) private void
setRateLimit
(int limit, boolean is_up) private void
setRateLimit
(DownloadManager manager, boolean added) protected void
setSupportsFileLocation
(boolean sup) protected void
setSupportsTagTranscode
(boolean sup) void
setTagDownloadLimit
(int bps) void
setTagMaxAggregateShareRatio
(int sr) void
setTagMaxAggregateShareRatioAction
(int action) void
setTagMaxAggregateShareRatioHasPriority
(boolean priority) void
setTagMaxShareRatio
(int sr) void
setTagMaxShareRatioAction
(int action) void
setTagMinShareRatio
(int sr) void
setTagTranscodeTarget
(String uid, String name) void
setTagUploadLimit
(int bps) void
setTagUploadPriority
(int priority) boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
protected void
sync()
private void
updateFPSeeding
(DownloadManager dm, boolean fp_seed, boolean not_fp_seed) private void
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, getAutoApplySortInterval, getCanBePublicDefault, 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, getVisibleDefault, getVuzeFile, getWeight, 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, 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, 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
-
Field Details
-
FP_DL_KEY
-
NOT_FP_DL_KEY
-
upload_rate_limit
private int upload_rate_limit -
download_rate_limit
private int download_rate_limit -
upload_rate
private int upload_rate -
download_rate
private int download_rate -
aggregate_sr
private int aggregate_sr -
session_up
private long session_up -
session_down
private long session_down -
last_rate_update
private long last_rate_update -
UPLOAD_PRIORITY_ADDED_KEY
-
upload_priority
private int upload_priority -
fp_seeding
private boolean fp_seeding -
not_fp_seeding
private boolean not_fp_seeding -
fp_or_not_seeding_ever
private boolean fp_or_not_seeding_ever -
auto_sort_period
private int auto_sort_period -
last_auto_sort
private long last_auto_sort -
supports_xcode
private boolean supports_xcode -
supports_file_location
private boolean supports_file_location -
prevent_delete
private boolean prevent_delete -
notification_pub
-
rate_lock
-
upload_limiter
-
download_limiter
-
do_rates
private boolean do_rates -
do_up
private boolean do_up -
do_down
private boolean do_down -
do_bytes
private boolean do_bytes -
run_states
private int run_states -
rs_async
-
tag_properties
-
move_dispatcher
-
batch
-
batch_depth
private int batch_depth -
peer_listener
-
notification_pub_channel
-
notification_pub_channel_key
-
npc_initialised_time
private long npc_initialised_time -
npc_chat_ready
private boolean npc_chat_ready -
ncp_pub_list_mutate_index
-
ncp_pub_list
-
ncp_pub_list_mut
private long ncp_pub_list_mut -
NPC_ATTRIBUTE_NAME
- See Also:
-
AUTO_BOTH
private static final boolean[] AUTO_BOTH -
AUTO_NONE
private static final boolean[] AUTO_NONE
-
-
Constructor Details
-
TagDownloadWithState
public TagDownloadWithState(TagTypeBase tt, int tag_id, String name, boolean do_rates, boolean do_up, boolean do_down, boolean do_bytes, int run_states) -
TagDownloadWithState
protected TagDownloadWithState(TagTypeBase tt, int tag_id, Map details, boolean do_rates, boolean do_up, boolean do_down, boolean do_bytes, int run_states)
-
-
Method Details
-
init
private void init(boolean _do_rates, boolean _do_up, boolean _do_down, boolean _do_bytes, int _run_states) -
removeTag
public void removeTag()- Specified by:
removeTag
in interfaceTag
- Overrides:
removeTag
in classTagWithState
-
moveDownload
-
addTaggableBatch
public void addTaggableBatch(boolean starts) - Specified by:
addTaggableBatch
in interfaceTag
- Overrides:
addTaggableBatch
in classTagBase
-
addTaggable
- Specified by:
addTaggable
in interfaceTag
- Overrides:
addTaggable
in classTagWithState
-
getTaggableTypes
public int getTaggableTypes()- Specified by:
getTaggableTypes
in interfaceTag
-
getTaggedDownloads
- Specified by:
getTaggedDownloads
in interfaceTagDownload
-
setRateLimit
-
setRateLimit
private void setRateLimit(int limit, boolean is_up) -
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
-
getTagSessionUploadTotalCurrent
protected long[] getTagSessionUploadTotalCurrent()- Overrides:
getTagSessionUploadTotalCurrent
in classTagBase
-
getTagSessionDownloadTotalCurrent
protected long[] getTagSessionDownloadTotalCurrent()- Overrides:
getTagSessionDownloadTotalCurrent
in classTagBase
-
setTagUploadPriority
public void setTagUploadPriority(int priority) - Specified by:
setTagUploadPriority
in interfaceTagFeatureRateLimit
-
getFirstPrioritySeeding
public boolean getFirstPrioritySeeding()- Specified by:
getFirstPrioritySeeding
in interfaceTagFeatureRateLimit
- Overrides:
getFirstPrioritySeeding
in classTagBase
-
setFirstPrioritySeeding
public void setFirstPrioritySeeding(boolean b) - Specified by:
setFirstPrioritySeeding
in interfaceTagFeatureRateLimit
- Overrides:
setFirstPrioritySeeding
in classTagBase
-
getNotFirstPrioritySeeding
public boolean getNotFirstPrioritySeeding()- Specified by:
getNotFirstPrioritySeeding
in interfaceTagFeatureRateLimit
- Overrides:
getNotFirstPrioritySeeding
in classTagBase
-
setNotFirstPrioritySeeding
public void setNotFirstPrioritySeeding(boolean b) - Specified by:
setNotFirstPrioritySeeding
in interfaceTagFeatureRateLimit
- Overrides:
setNotFirstPrioritySeeding
in classTagBase
-
setPreventDelete
public void setPreventDelete(boolean b) - Specified by:
setPreventDelete
in interfaceTagFeatureFileLocation
- Overrides:
setPreventDelete
in classTagBase
-
canTaggableBeRemoved
- Specified by:
canTaggableBeRemoved
in interfaceTaggableResolver.LifecycleControlListener
- Throws:
Exception
-
setNotifyMessageChannel
- Specified by:
setNotifyMessageChannel
in interfaceTagFeatureNotifications
- Overrides:
setNotifyMessageChannel
in classTagBase
-
updateStuff
private void updateStuff() -
checkFPSeeding
private void checkFPSeeding() -
updateFPSeeding
-
checkNotifyPublish
private void checkNotifyPublish() -
sync
protected void sync() -
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
-
getPerformableOperations
- Specified by:
getPerformableOperations
in interfaceTagFeatureRunState
-
performOperation
- Specified by:
performOperation
in interfaceTagFeatureRunState
-
performOperation
- Specified by:
performOperation
in interfaceTagFeatureRunState
-
performOperation
-
getSupportedActions
public int getSupportedActions()- Specified by:
getSupportedActions
in interfaceTagFeatureExecOnAssign
- Overrides:
getSupportedActions
in classTagBase
-
setSupportsTagTranscode
protected void setSupportsTagTranscode(boolean sup) -
supportsTagTranscode
public boolean supportsTagTranscode()- Specified by:
supportsTagTranscode
in interfaceTagFeatureTranscode
-
getTagTranscodeTarget
- Specified by:
getTagTranscodeTarget
in interfaceTagFeatureTranscode
-
setTagTranscodeTarget
- Specified by:
setTagTranscodeTarget
in interfaceTagFeatureTranscode
-
setSupportsFileLocation
protected void setSupportsFileLocation(boolean sup) -
supportsTagInitialSaveFolder
public boolean supportsTagInitialSaveFolder()- Specified by:
supportsTagInitialSaveFolder
in interfaceTagFeatureFileLocation
- Overrides:
supportsTagInitialSaveFolder
in classTagBase
-
supportsTagMoveOnComplete
public boolean supportsTagMoveOnComplete()- Specified by:
supportsTagMoveOnComplete
in interfaceTagFeatureFileLocation
- Overrides:
supportsTagMoveOnComplete
in classTagBase
-
supportsTagCopyOnComplete
public boolean supportsTagCopyOnComplete()- Specified by:
supportsTagCopyOnComplete
in interfaceTagFeatureFileLocation
- Overrides:
supportsTagCopyOnComplete
in classTagBase
-
supportsTagMoveOnRemove
public boolean supportsTagMoveOnRemove()- Specified by:
supportsTagMoveOnRemove
in interfaceTagFeatureFileLocation
- Overrides:
supportsTagMoveOnRemove
in classTagBase
-
supportsTagMoveOnAssign
public boolean supportsTagMoveOnAssign()- Specified by:
supportsTagMoveOnAssign
in interfaceTagFeatureFileLocation
- Overrides:
supportsTagMoveOnAssign
in classTagBase
-
getSupportedProperties
- Specified by:
getSupportedProperties
in interfaceTagFeatureProperties
- Overrides:
getSupportedProperties
in classTagBase
-
isTagAuto
public boolean[] isTagAuto() -
getMaximumTaggables
public int getMaximumTaggables()- Specified by:
getMaximumTaggables
in interfaceTagFeatureLimits
- Overrides:
getMaximumTaggables
in classTagBase
-
checkMaximumTaggables
protected void checkMaximumTaggables()- Overrides:
checkMaximumTaggables
in classTagBase
-
dependsOnTags
- Specified by:
dependsOnTags
in interfaceTag
-
getStatus
-
setAutoApplySortInterval
public void setAutoApplySortInterval(int secs) - Specified by:
setAutoApplySortInterval
in interfaceTagDownload
- Overrides:
setAutoApplySortInterval
in classTagBase
-
checkSort
private void checkSort() -
applySortSupport
private boolean applySortSupport() -
applySort
public void applySort()- Specified by:
applySort
in interfaceTagDownload
- Overrides:
applySort
in classTagBase
-