<commit_before>/************************************************************************
** 
** Copyright (C) 2011 <NAME>, PeopleMerge.
** All rights reserved.
** Contact: <EMAIL>.
**
** This file is part of the NGDS language.
**
** 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
**
**    http://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.
**  
** Other Uses
** Alternatively, this file may be used in accordance with the terms and
** conditions contained in a signed written agreement between you and the 
** copyright owner.
************************************************************************/
package com.peoplemerge.ngds;

import java.util.List;

public class Step implements Executable{

	private Executable command;
	private AcceptsCommands node;
	private String output;
	
	public String getOutput() {
		return output;
	}

	public void setOutput(String output) {
		this.output = output;
	}

	public Step(Executable command, AcceptsCommands node) {
		this.command = command;
		this.node = node;
	}

	public Executable getCommand() {
		return command;
	}

	public List<Node> getNodes() {
		return node.getNodes();
	}

	@Override
	public ExitCode execute() {
		return null;
	}

	
	
}<commit_msg>implemented toString<commit_after>/************************************************************************
 ** 
 ** Copyright (C) 2011 <NAME>, PeopleMerge.
 ** All rights reserved.
 ** Contact: <EMAIL>.
 **
 ** This file is part of the NGDS language.
 **
 ** 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
 **
 **    http://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.
 **  
 ** Other Uses
 ** Alternatively, this file may be used in accordance with the terms and
 ** conditions contained in a signed written agreement between you and the 
 ** copyright owner.
 ************************************************************************/
package com.peoplemerge.ngds;

import java.util.List;

public class Step implements Executable {

	private Executable command;
	private AcceptsCommands node;
	private String output;

	public String getOutput() {
		return output;
	}

	public void setOutput(String output) {
		this.output = output;
	}

	public Step(Executable command, AcceptsCommands node) {
		this.command = command;
		this.node = node;
	}

	public Executable getCommand() {
		return command;
	}

	public List<Node> getNodes() {
		return node.getNodes();
	}

	@Override
	public ExitCode execute() {
		return null;
	}

	public String toString() {
		if (output == null) {
			return "Running: " + command + " on " + node;
		} else {
			return "Ran: " + command + " on " + node + " result: " + output;
		}
	}

}
{'fraction_non_alphanumeric': 0.17412368196067254, 'fraction_numerical': 0.004559703619264748, 'mean_word_length': 4.230998509687034, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3511024', 'n_tokens_mistral': 968, 'n_tokens_neox': 898, 'n_words': 376}