Add some docs

This commit is contained in:
Eric Bottard
2017-08-08 11:11:15 +02:00
parent 0ca3dacdce
commit 75911b5fed
4 changed files with 14 additions and 3 deletions

View File

@@ -17,7 +17,9 @@
package org.springframework.shell.samples.legacy;
/**
* Created by ericbottard on 09/12/15.
* Enum used by some of the example Shell 1 commands.
*
* @author Eric Bottard
*/
public enum ArtifactType {

View File

@@ -17,7 +17,9 @@
package org.springframework.shell.legacy;
/**
* Created by ericbottard on 09/12/15.
* An example enum used for testing argument passing of Shell 1 commands.
*
* @author Eric Bottard
*/
public enum ArtifactType {

View File

@@ -24,7 +24,9 @@ import org.springframework.shell.core.annotation.CliOption;
import org.springframework.util.ReflectionUtils;
/**
* Created by ericbottard on 09/12/15.
* A set of Shell 1 commands used for tests.
*
* @author Eric Bottard
*/
public class LegacyCommands implements CommandMarker {

View File

@@ -41,6 +41,11 @@ import org.springframework.shell.ValueResult;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
/**
* Tests for {@link LegacyParameterResolver}.
*
* @author Eric Bottard
*/
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(classes = LegacyParameterResolverTest.Config.class)
public class LegacyParameterResolverTest {