Package com.biglybt.core.tag.impl
Class TagTypeDownloadInternal
- java.lang.Object
-
- com.biglybt.core.tag.impl.TagTypeBase
-
- com.biglybt.core.tag.impl.TagTypeWithState
-
- com.biglybt.core.tag.impl.TagTypeDownloadInternal
-
- All Implemented Interfaces:
TagListener
,TagType
public class TagTypeDownloadInternal extends TagTypeWithState
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.biglybt.core.tag.impl.TagTypeBase
TagTypeBase.TagGroupImpl
-
-
Field Summary
Fields Modifier and Type Field Description private static int[]
color_default
private java.util.concurrent.atomic.AtomicInteger
next_tag_id
-
Fields inherited from class com.biglybt.core.tag.impl.TagTypeBase
AT_COLOR_ID
-
Fields inherited from interface com.biglybt.core.tag.TagType
TT_DOWNLOAD_CATEGORY, TT_DOWNLOAD_INTERNAL, TT_DOWNLOAD_MANUAL, TT_DOWNLOAD_STATE, TT_PEER_IPSET, TT_TAG_SUGGESTION
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
TagTypeDownloadInternal(TaggableResolver resolver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tag
createTag(java.lang.String name, boolean auto_add)
int[]
getColorDefault()
boolean
isTagTypeAuto()
boolean
isTagTypePersistent()
-
Methods inherited from class com.biglybt.core.tag.impl.TagTypeWithState
addTag, getResolver, getTagCount, getTags, removeTag, removeTaggable, resolveTaggable
-
Methods inherited from class com.biglybt.core.tag.impl.TagTypeBase
addTagListener, addTagType, addTagTypeListener, closing, fireChanged, fireMembershipChanged, fireMetadataChanged, generate, generateConfig, getTag, getTag, getTagGroup, getTagManager, getTagsForTaggable, getTagType, getTagTypeFeatures, getTagTypeName, hasTagTypeFeature, readBooleanAttribute, readLongAttribute, readLongListAttribute, readMapAttribute, readStringAttribute, readStringListAttribute, removeTagListener, removeTagType, removeTagTypeListener, requestAttention, setTagGroup, sync, taggableAdded, taggableRemoved, taggableSync, writeBooleanAttribute, writeLongAttribute, writeLongListAttribute, writeMapAttribute, writeStringAttribute, writeStringListAttribute
-
-
-
-
Constructor Detail
-
TagTypeDownloadInternal
protected TagTypeDownloadInternal(TaggableResolver resolver)
-
-
Method Detail
-
isTagTypePersistent
public boolean isTagTypePersistent()
- Specified by:
isTagTypePersistent
in interfaceTagType
- Overrides:
isTagTypePersistent
in classTagTypeBase
-
isTagTypeAuto
public boolean isTagTypeAuto()
- Specified by:
isTagTypeAuto
in interfaceTagType
- Overrides:
isTagTypeAuto
in classTagTypeBase
-
getColorDefault
public int[] getColorDefault()
- Specified by:
getColorDefault
in interfaceTagType
- Overrides:
getColorDefault
in classTagTypeBase
-
createTag
public Tag createTag(java.lang.String name, boolean auto_add) throws TagException
- Specified by:
createTag
in interfaceTagType
- Overrides:
createTag
in classTagTypeBase
- Throws:
TagException
-
-