com.liferay.source.formatter.parser.GradleFile Maven / Gradle / Ivy
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package com.liferay.source.formatter.parser;
import java.util.Set;
/**
* @author Peter Shin
*/
public class GradleFile {
public GradleFile(
Set applyPlugins, String bodyBlock, String buildScriptBlock,
String content, String extScriptBlock, String fileName,
String importsBlock, String initializeBlock, String pluginsScriptBlock,
Set properties, Set tasks) {
_applyPlugins = applyPlugins;
_bodyBlock = bodyBlock;
_buildScriptBlock = buildScriptBlock;
_content = content;
_extScriptBlock = extScriptBlock;
_fileName = fileName;
_importsBlock = importsBlock;
_initializeBlock = initializeBlock;
_pluginsScriptBlock = pluginsScriptBlock;
_properties = properties;
_tasks = tasks;
}
public Set getApplyPlugins() {
return _applyPlugins;
}
public String getBodyBlock() {
return _bodyBlock;
}
public String getBuildScriptBlock() {
return _buildScriptBlock;
}
public String getContent() {
return _content;
}
public String getExtScriptBlock() {
return _extScriptBlock;
}
public String getFileName() {
return _fileName;
}
public String getImportsBlock() {
return _importsBlock;
}
public String getInitializeBlock() {
return _initializeBlock;
}
public String getPluginsScriptBlock() {
return _pluginsScriptBlock;
}
public Set getProperties() {
return _properties;
}
public Set getTasks() {
return _tasks;
}
private final Set _applyPlugins;
private final String _bodyBlock;
private final String _buildScriptBlock;
private final String _content;
private final String _extScriptBlock;
private final String _fileName;
private final String _importsBlock;
private final String _initializeBlock;
private final String _pluginsScriptBlock;
private final Set _properties;
private final Set _tasks;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy