All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.wildfly.swarm.internal.DeployerMessages_$logger Maven / Gradle / Ivy

package org.wildfly.swarm.internal;

import java.util.Locale;
import java.io.Serializable;
import javax.annotation.Generated;
import org.jboss.logging.DelegatingBasicLogger;
import org.jboss.logging.BasicLogger;
import org.wildfly.swarm.container.DeploymentException;
import java.lang.String;
import org.jboss.logging.Logger;
import java.util.Arrays;


import static org.jboss.logging.Logger.Level.ERROR;
import static org.jboss.logging.Logger.Level.INFO;
import static org.jboss.logging.Logger.Level.DEBUG;

/**
 * Warning this class consists of generated code.
 */
@Generated(value = "org.jboss.logging.processor.generator.model.MessageLoggerImplementor", date = "2018-04-06T05:56:07-0700")
public class DeployerMessages_$logger extends DelegatingBasicLogger implements DeployerMessages, BasicLogger, Serializable {
    private static final long serialVersionUID = 1L;
    private static final String FQCN = DeployerMessages_$logger.class.getName();
    public DeployerMessages_$logger(final Logger log) {
        super(log);
    }
    private static final Locale LOCALE = Locale.ROOT;
    protected Locale getLoggingLocale() {
        return LOCALE;
    }
    private static final String unableToCreateDefaultDeployment = "WFSDEPLOY0001: Unable to create default deployment.";
    protected String unableToCreateDefaultDeployment$str() {
        return unableToCreateDefaultDeployment;
    }
    @Override
    public final DeploymentException unableToCreateDefaultDeployment() {
        final DeploymentException result = new DeploymentException(String.format(getLoggingLocale(), unableToCreateDefaultDeployment$str()));
        final StackTraceElement[] st = result.getStackTrace();
        result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
        return result;
    }
    @Override
    public final void noDeploymentsSpecified() {
        super.log.logf(FQCN, ERROR, null, noDeploymentsSpecified$str());
    }
    private static final String noDeploymentsSpecified = "WFSDEPLOY0002: No deployments specified";
    protected String noDeploymentsSpecified$str() {
        return noDeploymentsSpecified;
    }
    @Override
    public final void deploying(final String deploymentName) {
        super.log.logf(FQCN, DEBUG, null, deploying$str(), deploymentName);
    }
    private static final String deploying = "WFSDEPLOY0003: Deploying %s";
    protected String deploying$str() {
        return deploying;
    }
    @Override
    public final void deploymentContent(final String path) {
        super.log.logf(FQCN, DEBUG, null, deploymentContent$str(), path);
    }
    private static final String deploymentContent = "WFSDEPLOY0004: Deployment content: %s";
    protected String deploymentContent$str() {
        return deploymentContent;
    }
    @Override
    public final void exportingDeployment(final String exportLocation) {
        super.log.logf(FQCN, INFO, null, exportingDeployment$str(), exportLocation);
    }
    private static final String exportingDeployment = "WFSDEPLOY0005: Exporting deployment to %s";
    protected String exportingDeployment$str() {
        return exportingDeployment;
    }
    private static final String unableToCreateDefaultDeploymentWar = "WFSDEPLOY0006: Unable to create default deployment of type .war, maybe missing the 'undertow' or 'jaxrs' fraction";
    protected String unableToCreateDefaultDeploymentWar$str() {
        return unableToCreateDefaultDeploymentWar;
    }
    @Override
    public final DeploymentException unableToCreateDefaultDeploymentWar() {
        final DeploymentException result = new DeploymentException(String.format(getLoggingLocale(), unableToCreateDefaultDeploymentWar$str()));
        final StackTraceElement[] st = result.getStackTrace();
        result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
        return result;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy