net.adamcin.graniteit

UploadsPackages

trait UploadsPackages extends BaseMojo with HttpParameters with IdentifiesPackages

Trait defining common mojo parameters and methods useful for uploading and installing vault packages on CQ servers

Since

0.6.0

Linear Supertypes
IdentifiesPackages, HttpParameters, BaseMojo, AbstractMojo, ContextEnabled, Mojo, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. UploadsPackages
  2. IdentifiesPackages
  3. HttpParameters
  4. BaseMojo
  5. AbstractMojo
  6. ContextEnabled
  7. Mojo
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final val DEFAULT_BASE_URL: String("http://localhost:4502")

    Definition Classes
    HttpParameters
  7. final val DEFAULT_PASS: String("admin")

    Definition Classes
    HttpParameters
  8. final val DEFAULT_PROXY_HOST: String("localhost")

    Definition Classes
    HttpParameters
  9. final val DEFAULT_PROXY_PROTOCOL: String("http")

    Definition Classes
    HttpParameters
  10. final val DEFAULT_USER: String("admin")

    Definition Classes
    HttpParameters
  11. lazy val activeProxy: Option[ProxyServer]

    Definition Classes
    HttpParameters
  12. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  13. val autosave: Int

    Change the autosave threshold for the install command.

    Change the autosave threshold for the install command. 1024 is the minimum.

  14. val baseUrl: String

    Server base URL (including context path, but without trailing slash)

    Server base URL (including context path, but without trailing slash)

    Definition Classes
    HttpParameters
  15. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  16. lazy val credentials: (String, String)

    Definition Classes
    HttpParameters
  17. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  19. def execute(): Unit

    Definition Classes
    BaseMojo → Mojo
  20. def existsOnServer(packageId: Option[PackageId]): Either[Throwable, (Boolean, String)]

  21. def expedite[T](req: Req, resp: Future[T]): (Req, T)

    Definition Classes
    HttpParameters
  22. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  23. implicit val force: Boolean

    Force upload of packages if they already exist in the target environment

  24. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  25. def getIdFromProperties(props: Properties, defaultId: Option[PackageId]): Option[PackageId]

    Definition Classes
    IdentifiesPackages
  26. def getLog(): Log

    Definition Classes
    AbstractMojo → Mojo
  27. def getPluginContext(): Map[_, _]

    Definition Classes
    AbstractMojo → ContextEnabled
  28. def getReqRespLogMessage(req: Req, resp: Response): String

    Definition Classes
    HttpParameters
  29. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  30. def identifyPackage(file: File): Option[PackageId]

    Definition Classes
    IdentifiesPackages
  31. implicit def implyDavVerbs(req: Req): DavReq

    Definition Classes
    HttpParameters
  32. def installPackage(packageId: Option[PackageId]): Either[Throwable, (Boolean, String)]

  33. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  34. def isSlingPostSuccess(req: Req, resp: Response): Boolean

    Definition Classes
    HttpParameters
  35. def isSuccess(req: Req, resp: Response): Boolean

    Definition Classes
    HttpParameters
  36. def mkdir(absPath: String): (Req, Response)

    Definition Classes
    HttpParameters
  37. def mkdirs(absPath: String): (Req, Response)

    Definition Classes
    HttpParameters
  38. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  39. val noProxy: Boolean

    Set to true to completely disable HTTP proxy connections for this plugin.

    Set to true to completely disable HTTP proxy connections for this plugin. Overrides any other HTTP proxy configuration

    Definition Classes
    HttpParameters
  40. final def notify(): Unit

    Definition Classes
    AnyRef
  41. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  42. def optDecrypt(password: String): String

    Definition Classes
    HttpParameters
  43. def parseServiceResponse(respBody: String): Either[Throwable, (Boolean, String)]

  44. val password: String

    Password to use in connection credentials

    Password to use in connection credentials

    Definition Classes
    HttpParameters
  45. val propertiesEntry: String

    Definition Classes
    IdentifiesPackages
  46. lazy val proxyCredentials: (String, String)

    Definition Classes
    HttpParameters
  47. val proxyHost: String

    The HTTP Proxy hostname

    The HTTP Proxy hostname

    Definition Classes
    HttpParameters
  48. val proxyPassword: String

    The HTTP Proxy password

    The HTTP Proxy password

    Definition Classes
    HttpParameters
  49. val proxyPort: Int

    The HTTP Proxy port.

    The HTTP Proxy port. Set to -1 to use the default proxy port.

    Definition Classes
    HttpParameters
  50. val proxyProtocol: String

    The HTTP Proxy protocol

    The HTTP Proxy protocol

    Definition Classes
    HttpParameters
  51. val proxyServerId: String

    Server ID for proxy credentials defined in maven settings

    Server ID for proxy credentials defined in maven settings

    Definition Classes
    HttpParameters
  52. val proxySet: Boolean

    Set to true to override the proxy configuration in the user's Maven Settings with the associated mojo parameter alternatives

    Set to true to override the proxy configuration in the user's Maven Settings with the associated mojo parameter alternatives

    Definition Classes
    HttpParameters
  53. val proxyUsername: String

    The HTTP Proxy username

    The HTTP Proxy username

    Definition Classes
    HttpParameters
  54. val recursive: Boolean

    Set to false to not install any subpackages that might be embedded within each dependency

  55. var securityDispatcher: SecDispatcher

    Definition Classes
    HttpParameters
  56. val serverId: String

    Id of server defined in the maven settings to use for credentials

    Id of server defined in the maven settings to use for credentials

    Definition Classes
    HttpParameters
  57. lazy val servicePath: String

  58. val serviceTimeout: Int

    Set the timeout used for waiting for Package Manager service availability before sending any POST requests.

    Set the timeout used for waiting for Package Manager service availability before sending any POST requests. The wait is to avoid creating dummy nodes in the repository when the SlingPostServlet handles premature package manager requests, which can confuse the link rewriter and mess up links to the package manager console.

  59. var session: MavenSession

    Definition Classes
    BaseMojo
  60. def setLog(arg0: Log): Unit

    Definition Classes
    AbstractMojo → Mojo
  61. def setPluginContext(arg0: Map[_, _]): Unit

    Definition Classes
    AbstractMojo → ContextEnabled
  62. var settings: Settings

    Definition Classes
    BaseMojo
  63. var skipMkdirs: Boolean

    Set to true to skip the use of the MKCOL WebDAV method for the creation ancestor JCR paths

    Set to true to skip the use of the MKCOL WebDAV method for the creation ancestor JCR paths

    Definition Classes
    HttpParameters
  64. def skipOrExecute(skip: Boolean)(body: ⇒ Unit): Unit

    Definition Classes
    BaseMojo
  65. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  66. def toString(): String

    Definition Classes
    AnyRef → Any
  67. def uploadPackage(packageId: Option[PackageId], file: File, force: Boolean): Either[Throwable, (Boolean, String)]

  68. def uploadPackageArtifact(artifact: Artifact)(implicit force: Boolean): Unit

  69. def uploadPackageFile(file: File)(implicit force: Boolean): Unit

  70. def urlForPath(absPath: String): Req

    Definition Classes
    HttpParameters
  71. val username: String

    Specify the CQ username associated with package creation and installation

    Specify the CQ username associated with package creation and installation

    Definition Classes
    HttpParameters
  72. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  73. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  74. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  75. final def waitForResponse[T](nTrys: Int)(implicit until: Long, requestFunction: () ⇒ (Request, AsyncHandler[T]), contentChecker: (Future[T]) ⇒ Future[Boolean]): Boolean

    Definition Classes
    HttpParameters
    Annotations
    @tailrec()
  76. def waitForService(thenDo: ⇒ Either[Throwable, (Boolean, String)]): Either[Throwable, (Boolean, String)]

    wrap package manager service POST requests with this function to first check for service availability, which is interpreted by expecting a GET response of 405 (Method not allowed)

    wrap package manager service POST requests with this function to first check for service availability, which is interpreted by expecting a GET response of 405 (Method not allowed)

    thenDo
    returns

Inherited from IdentifiesPackages

Inherited from HttpParameters

Inherited from BaseMojo

Inherited from AbstractMojo

Inherited from ContextEnabled

Inherited from Mojo

Inherited from AnyRef

Inherited from Any

Ungrouped