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

com.g2forge.enigma.bash.model.statement.BashBlock Maven / Gradle / Ivy

Go to download

Model & renderer for bash scripts. Yes, it can properly and safely quote them too.

There is a newer version: 0.0.11
Show newest version
package com.g2forge.enigma.bash.model.statement;

import java.util.List;

import com.g2forge.alexandria.java.core.helpers.HCollection;

import lombok.Builder;
import lombok.Data;
import lombok.RequiredArgsConstructor;
import lombok.Singular;

@Data
@Builder(toBuilder = true)
@RequiredArgsConstructor
public class BashBlock implements IBashBlock {
	@Singular
	protected final List contents;

	public BashBlock(IBashBlock... contents) {
		this(HCollection.asList(contents));
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy