org.wildfly.swarm.spi.api

## Class DefaultDeploymentFactory

- java.lang.Object
- - org.wildfly.swarm.spi.api.DefaultDeploymentFactory

-     public abstract class DefaultDeploymentFactory
      extends Object

  Abstract factory for creating default deployments automatically.
  Author:
    Bob McWhirter

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static String` | `APP_ARTIFACT`
    `static String` | `APP_NAME`
    `static String` | `APP_PATH`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `DefaultDeploymentFactory()`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `abstract Archive` | `create()`
    `abstract int` | `getPriority()`
    `abstract String` | `getType()`
    `boolean` | `setup(<any> archive)`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### APP_NAME

          public static String APP_NAME

    - #### APP_PATH

          public static String APP_PATH

    - #### APP_ARTIFACT

          public static String APP_ARTIFACT

  - ### Constructor Detail

    - #### DefaultDeploymentFactory

          public DefaultDeploymentFactory()

  - ### Method Detail

    - #### getPriority

          public abstract int getPriority()

    - #### getType

          public abstract String getType()

    - #### create

          public abstract Archive create()
                                  throws Exception

      Throws:
        `Exception`

    - #### setup

          public boolean setup(<any> archive)
                        throws Exception

      Throws:
        `Exception`

Copyright © 2018 JBoss by Red Hat. All rights reserved.