Skip to content

Commit

Permalink
[WFMP-231] Deprecate the API's removed and moved in 5.0.x.
Browse files Browse the repository at this point in the history
https://issues.redhat.com/browse/WFMP-231
Signed-off-by: James R. Perkins <jperkins@redhat.com>
  • Loading branch information
jamezp committed Dec 19, 2023
1 parent dcbd147 commit 321565d
Show file tree
Hide file tree
Showing 20 changed files with 58 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@
* Simple wrapper for configuration ids.
*
* @author Emmanuel Hugonnet (c) 2018 Red Hat, inc.
*
* @deprecated this is no longer needed
*/
@Deprecated(forRemoval = true)
public class ConfigurationId {

private String name;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@
* needs to be consumed and redirected somewhere.
*
* @author <a href="mailto:jperkins@redhat.com">James R. Perkins</a>
*
* @deprecated moved to new https://github.com/wildfly/wildfly-plugin-tools project
*/
@Deprecated(forRemoval = true)
public class ConsoleConsumer implements Runnable {
private final InputStream in;
private final OutputStream out;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@
* Information about the running container.
*
* @author <a href="mailto:jperkins@redhat.com">James R. Perkins</a>
*
* @deprecated moved to new https://github.com/wildfly/wildfly-plugin-tools project
*/
@Deprecated(forRemoval = true)
@SuppressWarnings({ "WeakerAccess", "unused" })
public interface ContainerDescription {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@
* A default implementation for the {@link ContainerDescription}.
*
* @author <a href="mailto:jperkins@redhat.com">James R. Perkins</a>
*
* @deprecated moved to new https://github.com/wildfly/wildfly-plugin-tools project
*/
@Deprecated(forRemoval = true)
class DefaultContainerDescription implements ContainerDescription {

private final String productName;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,10 @@
* The default deployment manager.
*
* @author <a href="mailto:jperkins@redhat.com">James R. Perkins</a>
*
* @deprecated moved to new https://github.com/wildfly/wildfly-plugin-tools project
*/
@Deprecated(forRemoval = true)
@SuppressWarnings("Duplicates")
class DefaultDeploymentManager implements DeploymentManager {

Expand Down
3 changes: 3 additions & 0 deletions core/src/main/java/org/wildfly/plugin/core/Deployment.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@
* </p>
*
* @author <a href="mailto:jperkins@redhat.com">James R. Perkins</a>
*
* @deprecated moved to new https://github.com/wildfly/wildfly-plugin-tools project
*/
@Deprecated(forRemoval = true)
@SuppressWarnings({ "unused", "WeakerAccess" })
public class Deployment implements DeploymentDescription, Comparable<Deployment> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@
* depending on the type of content being used.
*
* @author <a href="mailto:jperkins@redhat.com">James R. Perkins</a>
*
* @deprecated moved to new https://github.com/wildfly/wildfly-plugin-tools project
*/
@Deprecated(forRemoval = true)
abstract class DeploymentContent {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@
* Represents a default description for a deployment.
*
* @author <a href="mailto:jperkins@redhat.com">James R. Perkins</a>
*
* @deprecated moved to new https://github.com/wildfly/wildfly-plugin-tools project
*/
@Deprecated(forRemoval = true)
@SuppressWarnings("WeakerAccess")
public interface DeploymentDescription {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@
* An exception that represents a deployment error.
*
* @author <a href="mailto:jperkins@redhat.com">James R. Perkins</a>
*
* @deprecated moved to new https://github.com/wildfly/wildfly-plugin-tools project
*/
@Deprecated(forRemoval = true)
@SuppressWarnings({ "WeakerAccess", "unused" })
public class DeploymentException extends RuntimeException {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@
* </p>
*
* @author <a href="mailto:jperkins@redhat.com">James R. Perkins</a>
*
* @deprecated moved to new https://github.com/wildfly/wildfly-plugin-tools project
*/
@Deprecated(forRemoval = true)
@SuppressWarnings("unused")
public interface DeploymentManager {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,10 @@
* </p>
*
* @author <a href="mailto:jperkins@redhat.com">James R. Perkins</a>
*
* @deprecated moved to new https://github.com/wildfly/wildfly-plugin-tools project
*/
@Deprecated(forRemoval = true)
@SuppressWarnings({ "unused", "StaticMethodOnlyUsedInOneClass", "WeakerAccess" })
public class DeploymentOperations {
static final String ENABLED = "enabled";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@
* Represents the results of a deployment.
*
* @author <a href="mailto:jperkins@redhat.com">James R. Perkins</a>
*
* @deprecated moved to new https://github.com/wildfly/wildfly-plugin-tools project
*/
@Deprecated(forRemoval = true)
@SuppressWarnings("unused")
public class DeploymentResult {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
*
* @author Alexey Loubyanssky
*/
@Deprecated(forRemoval = true)
public class FeaturePack implements DependableCoordinate, ArtifactCoordinate {

private String groupId;
Expand Down
3 changes: 3 additions & 0 deletions core/src/main/java/org/wildfly/plugin/core/GalleonUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@

/**
* @author jdenise
*
* @deprecated moved to new https://github.com/wildfly/wildfly-plugin-tools project
*/
@Deprecated(forRemoval = true)
public class GalleonUtils {

private static final String WILDFLY_DEFAULT_FEATURE_PACK_LOCATION = "wildfly@maven(org.jboss.universe:community-universe)";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@
* An error indicating an operation has failed to execute.
*
* @author <a href="mailto:jperkins@redhat.com">James R. Perkins</a>
*
* @deprecated moved to new https://github.com/wildfly/wildfly-plugin-tools project
*/
@Deprecated(forRemoval = true)
@SuppressWarnings("WeakerAccess")
public class OperationExecutionException extends RuntimeException {
private final ModelNode result;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@
/**
*
* @author jdenise@redhat.com
*
* @deprecated moved to new https://github.com/wildfly/wildfly-plugin-tools project
*/
@Deprecated(forRemoval = true)
public class PluginProgressTracker<T> implements ProgressCallback<T> {

private static final String DELAYED_EXECUTION_MSG = "Delayed generation, waiting...";
Expand Down
3 changes: 3 additions & 0 deletions core/src/main/java/org/wildfly/plugin/core/ServerHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@

/**
* @author <a href="mailto:jperkins@redhat.com">James R. Perkins</a>
*
* @deprecated moved to new https://github.com/wildfly/wildfly-plugin-tools project
*/
@Deprecated(forRemoval = true)
@SuppressWarnings({ "StaticMethodOnlyUsedInOneClass", "WeakerAccess", "unused", "MagicNumber" })
public class ServerHelper {
private static final ModelNode EMPTY_ADDRESS = new ModelNode().setEmptyList();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@
* A simple deployment description.
*
* @author <a href="mailto:jperkins@redhat.com">James R. Perkins</a>
*
* @deprecated moved to new https://github.com/wildfly/wildfly-plugin-tools project
*/
@Deprecated(forRemoval = true)
@SuppressWarnings({ "WeakerAccess", "unused" })
public class SimpleDeploymentDescription implements DeploymentDescription, Comparable<SimpleDeploymentDescription> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@
* </p>
*
* @author <a href="mailto:jperkins@redhat.com">James R. Perkins</a>
*
* @deprecated moved to new https://github.com/wildfly/wildfly-plugin-tools project
*/
@Deprecated(forRemoval = true)
@SuppressWarnings({ "unused", "WeakerAccess" })
public class UndeployDescription implements DeploymentDescription, Comparable<UndeployDescription> {

Expand Down
3 changes: 3 additions & 0 deletions core/src/main/java/org/wildfly/plugin/core/Utils.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@
/**
*
* @author jdenise@redhat.com
*
* @deprecated moved to new https://github.com/wildfly/wildfly-plugin-tools project
*/
@Deprecated(forRemoval = true)
public class Utils {

public static boolean isValidHomeDirectory(final Path path) {
Expand Down

0 comments on commit 321565d

Please sign in to comment.