Create meaningful JavaDocs instead of author names
This commit is contained in:
@ -9,7 +9,8 @@ import org.slf4j.Logger;
|
|||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Created by Srdjan on 26-Apr-17.
|
* Anticipate that an object’s interface needs to be extended in the future.
|
||||||
|
* Additional interfaces are defined by extension objects.
|
||||||
*/
|
*/
|
||||||
public class App {
|
public class App {
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package abstractextensions;
|
package abstractextensions;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Created by Srdjan on 27-Apr-17.
|
* Interface with their method
|
||||||
*/
|
*/
|
||||||
public interface CommanderExtension extends UnitExtension {
|
public interface CommanderExtension extends UnitExtension {
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package abstractextensions;
|
package abstractextensions;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Created by Srdjan on 27-Apr-17.
|
* Interface with their method
|
||||||
*/
|
*/
|
||||||
public interface SergeantExtension extends UnitExtension {
|
public interface SergeantExtension extends UnitExtension {
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package abstractextensions;
|
package abstractextensions;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Created by Srdjan on 26-Apr-17.
|
* Interface with their method
|
||||||
*/
|
*/
|
||||||
public interface SoldierExtension extends UnitExtension {
|
public interface SoldierExtension extends UnitExtension {
|
||||||
void soldierReady();
|
void soldierReady();
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package abstractextensions;
|
package abstractextensions;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Created by Srdjan on 26-Apr-17.
|
* Other Extensions will extend this interface
|
||||||
*/
|
*/
|
||||||
public interface UnitExtension {
|
public interface UnitExtension {
|
||||||
}
|
}
|
||||||
|
@ -6,7 +6,7 @@ import org.slf4j.LoggerFactory;
|
|||||||
import units.CommanderUnit;
|
import units.CommanderUnit;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Created by Srdjan on 27-Apr-17.
|
* Class defining Commander
|
||||||
*/
|
*/
|
||||||
public class Commander implements CommanderExtension {
|
public class Commander implements CommanderExtension {
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ import org.slf4j.LoggerFactory;
|
|||||||
import units.SergeantUnit;
|
import units.SergeantUnit;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Created by Srdjan on 27-Apr-17.
|
* Class defining Sergeant
|
||||||
*/
|
*/
|
||||||
public class Sergeant implements SergeantExtension {
|
public class Sergeant implements SergeantExtension {
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ import org.slf4j.LoggerFactory;
|
|||||||
import units.SoldierUnit;
|
import units.SoldierUnit;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Created by Srdjan on 26-Apr-17.
|
* Class defining Soldier
|
||||||
*/
|
*/
|
||||||
public class Soldier implements SoldierExtension {
|
public class Soldier implements SoldierExtension {
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@ import abstractextensions.UnitExtension;
|
|||||||
import concreteextensions.Commander;
|
import concreteextensions.Commander;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Created by Srdjan on 27-Apr-17.
|
* Class defining CommanderUnit
|
||||||
*/
|
*/
|
||||||
public class CommanderUnit extends Unit {
|
public class CommanderUnit extends Unit {
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@ import abstractextensions.UnitExtension;
|
|||||||
import concreteextensions.Sergeant;
|
import concreteextensions.Sergeant;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Created by Srdjan on 27-Apr-17.
|
* Class defining SergeantUnit
|
||||||
*/
|
*/
|
||||||
public class SergeantUnit extends Unit {
|
public class SergeantUnit extends Unit {
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@ import abstractextensions.UnitExtension;
|
|||||||
import concreteextensions.Soldier;
|
import concreteextensions.Soldier;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Created by Srdjan on 26-Apr-17.
|
* Class defining SoldierUnit
|
||||||
*/
|
*/
|
||||||
public class SoldierUnit extends Unit {
|
public class SoldierUnit extends Unit {
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@ package units;
|
|||||||
import abstractextensions.UnitExtension;
|
import abstractextensions.UnitExtension;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Created by Srdjan on 26-Apr-17.
|
* Class defining Unit, other units will extend this class
|
||||||
*/
|
*/
|
||||||
public class Unit {
|
public class Unit {
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user