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

com.liferay.project.templates.service.wrapper.internal.ServiceWrapperProjectTemplatesArgs Maven / Gradle / Ivy

Go to download

Creates a Liferay service wrapper module project extending a chosen service wrapper class.

The newest version!
/**
 * SPDX-FileCopyrightText: (c) 2000 Liferay, Inc. https://liferay.com
 * SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06
 */

package com.liferay.project.templates.service.wrapper.internal;

import com.beust.jcommander.Parameter;

import com.liferay.project.templates.extensions.ProjectTemplatesArgsExt;

/**
 * @author Gregory Amerson
 */
public class ServiceWrapperProjectTemplatesArgs
	implements ProjectTemplatesArgsExt {

	public String getService() {
		return _service;
	}

	@Override
	public String getTemplateName() {
		return "service-wrapper";
	}

	public void setService(String service) {
		_service = service;
	}

	@Parameter(
		description = "Provide the name of the service to be implemented.",
		names = "--service", required = true
	)
	private String _service;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy