1 // -*- Mode: Java; indent-tabs-mode: t; tab-width: 4 -*-
2 // ---------------------------------------------------------------------------
4 // Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
5 // ---------------------------------------------------------------------------
6 // SquirrelJME is under the Mozilla Public License Version 2.0.
7 // See license.mkd for licensing and copyright information.
8 // ---------------------------------------------------------------------------
10 package cc
.squirreljme
.plugin
.tasks
;
12 import cc
.squirreljme
.plugin
.util
.FileLocation
;
13 import java
.nio
.file
.Path
;
16 * The output for a task.
20 final class __Output__
22 /** The input file. */
23 public final FileLocation input
;
25 /** The output path. */
26 public final Path output
;
29 * Initializes the output path.
31 * @param __input The input path.
32 * @param __output The output path.
33 * @throws NullPointerException On null arguments.
36 public __Output__(FileLocation __input
, Path __output
)
37 throws NullPointerException
39 if (__input
== null || __output
== null)
40 throw new NullPointerException();
43 this.output
= __output
;
51 public final String
toString()
53 return String
.format("{input=%s, output=%s}",
54 this.input
, this.output
);