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

com.g2forge.enigma.bash.model.expression.BashProcessSubstitution Maven / Gradle / Ivy

Go to download

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

The newest version!
package com.g2forge.enigma.bash.model.expression;

import com.g2forge.enigma.bash.model.statement.IBashExecutable;

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

@Data
@Builder(toBuilder = true)
@RequiredArgsConstructor
public class BashProcessSubstitution implements IBashExpression {
	public enum Direction {
		Input,
		Output;

		public BashProcessSubstitution create(IBashExecutable executable) {
			return new BashProcessSubstitution(executable, this);
		}
	}

	protected final IBashExecutable executable;

	protected final Direction direction;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy