// 
// Decompiled by Procyon v0.6.0
// 

package org.jline.console;

import java.util.Collection;
import java.util.ArrayList;
import java.util.List;

public class CmdLine
{
    private final String line;
    private final String head;
    private final String tail;
    private final List<String> args;
    private final DescriptionType descType;
    
    public CmdLine(final String line, final String head, final String tail, final List<String> args, final DescriptionType descType) {
        this.line = line;
        this.head = head;
        this.tail = tail;
        this.args = new ArrayList<String>(args);
        this.descType = descType;
    }
    
    public String getLine() {
        return this.line;
    }
    
    public String getHead() {
        return this.head;
    }
    
    public String getTail() {
        return this.tail;
    }
    
    public List<String> getArgs() {
        return this.args;
    }
    
    public DescriptionType getDescriptionType() {
        return this.descType;
    }
    
    public enum DescriptionType
    {
        COMMAND, 
        METHOD, 
        SYNTAX;
    }
}
