org.jreleaser.model.internal.assemble.Assembler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jreleaser-model-impl Show documentation
Show all versions of jreleaser-model-impl Show documentation
JReleaser Model implementation
The newest version!
/*
* SPDX-License-Identifier: Apache-2.0
*
* Copyright 2020-2024 The JReleaser authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.jreleaser.model.internal.assemble;
import org.jreleaser.model.Distribution;
import org.jreleaser.model.Stereotype;
import org.jreleaser.model.internal.catalog.swid.SwidTag;
import org.jreleaser.model.internal.common.Activatable;
import org.jreleaser.model.internal.common.Artifact;
import org.jreleaser.model.internal.common.Domain;
import org.jreleaser.model.internal.common.ExtraProperties;
import org.jreleaser.model.internal.common.FileSet;
import org.jreleaser.model.internal.common.Glob;
import org.jreleaser.model.internal.platform.Platform;
import org.jreleaser.mustache.TemplateContext;
import java.util.List;
import java.util.Set;
/**
* @author Andres Almiray
* @since 0.2.0
*/
public interface Assembler extends Domain, Activatable, ExtraProperties {
Platform getPlatform();
void setPlatform(Platform platform);
Distribution.DistributionType getDistributionType();
String getType();
Stereotype getStereotype();
void setStereotype(Stereotype stereotype);
void setStereotype(String str);
boolean isExported();
void setExported(Boolean exported);
String getName();
void setName(String name);
Set getOutputs();
void setOutputs(Set output);
void addOutput(Artifact artifact);
TemplateContext props();
String getTemplateDirectory();
void setTemplateDirectory(String templateDirectory);
Set getSkipTemplates();
void setSkipTemplates(Set skipTemplates);
void addSkipTemplates(Set templates);
void addSkipTemplate(String template);
Set extends Artifact> getArtifacts();
void setArtifacts(Set artifacts);
void addArtifacts(Set artifacts);
void addArtifact(Artifact artifact);
List getFileSets();
void setFileSets(List fileSets);
void addFileSets(List files);
void addFileSet(FileSet file);
List getFiles();
void setFiles(List files);
void addFiles(List files);
void addFile(Glob file);
void setSwid(SwidTag swid);
SwidTag getSwid();
A asImmutable();
}