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

com.liferay.project.templates.service.internal.ServiceProjectTemplatesArgs Maven / Gradle / Ivy

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.internal;

import com.beust.jcommander.Parameter;

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

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

	public String getService() {
		return _service;
	}

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

	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