NoIssue: Dummy implementations of first interfaces
This commit is contained in:
@@ -28,9 +28,13 @@ repositories {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation("org.jetbrains:annotations:26.0.1")
|
||||
implementation("log4j:log4j:1.2.17")
|
||||
implementation("com.r35157.nenjim:kicker-api:0.0.0")
|
||||
implementation(platform("org.apache.logging.log4j:log4j-bom:2.25.2"))
|
||||
implementation("org.apache.logging.log4j:log4j-api")
|
||||
runtimeOnly("org.apache.logging.log4j:log4j-core")
|
||||
compileOnly("org.jetbrains:annotations:26.0.2-1")
|
||||
|
||||
implementation("com.r35157.nenjim:hubd-api:0.1-dev")
|
||||
implementation("com.r35157.nenjim:kicker-api:0.1-dev")
|
||||
}
|
||||
|
||||
java {
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
package com.r35157.nenjim.kicker.impl.ref;
|
||||
|
||||
import com.r35157.nenjim.kicker.Kicker;
|
||||
import com.r35157.nenjim.kicker.NenjimProcess;
|
||||
|
||||
import java.util.HashMap;
|
||||
|
||||
public class KickerImpl implements Kicker {
|
||||
@Override
|
||||
public void startProcess(String s) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public HashMap<Integer, NenjimProcess> getRunningProcesses() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void noop() {
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
package com.r35157.nenjim.kicker.impl.ref;
|
||||
|
||||
import com.r35157.nenjim.hubd.Context;
|
||||
import com.r35157.nenjim.hubd.NenjimHub;
|
||||
import com.r35157.nenjim.kicker.NenjimProcess;
|
||||
|
||||
public class NenjimProcessImpl implements NenjimProcess {
|
||||
@Override
|
||||
public void run() throws Exception {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setContext(Context context) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setHub(NenjimHub nenjimHub) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getName() {
|
||||
return "";
|
||||
}
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
package com.r35157.nenjim.kicker.impl.ref;
|
||||
|
||||
import com.r35157.nenjim.kicker.SomeInterface;
|
||||
|
||||
public class SomeImpl implements SomeInterface {
|
||||
public String concat(String x, String y) {
|
||||
return x + y;
|
||||
}
|
||||
|
||||
public void divideByZero() throws ArithmeticException {
|
||||
int a = 0/0;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user