c

gitbucket.core.plugin

UserNameSuggestionProvider

class UserNameSuggestionProvider extends SuggestionProvider

Linear Supertypes
SuggestionProvider, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UserNameSuggestionProvider
  2. SuggestionProvider
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new UserNameSuggestionProvider()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def additionalScript(repository: RepositoryInfo)(implicit context: Context): String

    If this suggestion provider needs some additional process to assemble the proposal list (e.g.

    If this suggestion provider needs some additional process to assemble the proposal list (e.g. It need to use Ajax to get a proposal list from the server), then override this method and return any JavaScript code.

    Definition Classes
    UserNameSuggestionProviderSuggestionProvider
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. val context: Seq[String]

    Which contexts is this suggestion provider enabled.

    Which contexts is this suggestion provider enabled. Currently, available contexts are "issues" and "wiki".

    Definition Classes
    UserNameSuggestionProviderSuggestionProvider
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. val id: String

    The identifier of this suggestion provider.

    The identifier of this suggestion provider. You must specify the unique identifier in the all suggestion providers.

    Definition Classes
    UserNameSuggestionProviderSuggestionProvider
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. def options(repository: RepositoryInfo): Seq[(String, String)]

    If this suggestion provider has static proposal list, override this method to return it.

    If this suggestion provider has static proposal list, override this method to return it.

    If your proposals have label and value, use this method instead of values(). The first element of tuple is used as a value, and the second element is used as a label.

    The returned sequence is rendered as follows:

    [
      {
        "label" -> "label1",
        "value" -> "value1"
      },
      {
        "label" -> "label2",
        "value" -> "value2"
      },
    ]
    

    Each element can be accessed as option in template() or replace() method.

    Definition Classes
    SuggestionProvider
  19. val prefix: String

    The trigger of this suggestion provider.

    The trigger of this suggestion provider. When user types this character, the proposal list would be displayed. Also this is used as the prefix of the replaced string.

    Definition Classes
    UserNameSuggestionProviderSuggestionProvider
  20. def replace(implicit context: Context): String

    JavaScript fragment to generate a replaced value of completion proposal.

    JavaScript fragment to generate a replaced value of completion proposal. The default is: option.value

    Definition Classes
    SuggestionProvider
  21. val suffix: String

    The suffix of the replaced string.

    The suffix of the replaced string. The default is " ".

    Definition Classes
    SuggestionProvider
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def template(implicit context: Context): String

    JavaScript fragment to generate a label of completion proposal.

    JavaScript fragment to generate a label of completion proposal. The default is: option.label.

    Definition Classes
    SuggestionProvider
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. def values(repository: RepositoryInfo): Seq[String]

    If this suggestion provider has static proposal list, override this method to return it.

    If this suggestion provider has static proposal list, override this method to return it.

    The returned sequence is rendered as follows:

    [
      {
        "label" -> "value1",
        "value" -> "value1"
      },
      {
        "label" -> "value2",
        "value" -> "value2"
      },
    ]
    

    Each element can be accessed as option in template() or replace() method.

    Definition Classes
    SuggestionProvider
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from SuggestionProvider

Inherited from AnyRef

Inherited from Any

Ungrouped