Skip to content
This repository was archived by the owner on Aug 18, 2020. It is now read-only.

Commit 4bf446b

Browse files
committed
Regenerate and fixed requirements file
Signed-off-by: Adrian Nöthlich <git@promasu.tech>
1 parent 864d960 commit 4bf446b

File tree

3 files changed

+59
-59
lines changed

3 files changed

+59
-59
lines changed

src/main/java/org/codeoverflow/chatoverflow/api/plugin/configuration/Input.java

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
// THIS FILE IS GENERATED WHILE COMPILING. DO NOT CHANGE ANYTHING HERE!
44

55
import org.codeoverflow.chatoverflow.api.io.input.FileInput;
6-
import org.codeoverflow.chatoverflow.api.io.input.SampleInput;
76
import org.codeoverflow.chatoverflow.api.io.input.SerialInput;
8-
import org.codeoverflow.chatoverflow.api.io.input.chat.DiscordChatInput;
9-
import org.codeoverflow.chatoverflow.api.io.input.chat.MockUpChatInput;
10-
import org.codeoverflow.chatoverflow.api.io.input.chat.TwitchChatInput;
7+
import org.codeoverflow.chatoverflow.api.io.input.SampleInput;
118
import org.codeoverflow.chatoverflow.api.io.input.event.TipeeestreamEventInput;
9+
import org.codeoverflow.chatoverflow.api.io.input.chat.TwitchChatInput;
10+
import org.codeoverflow.chatoverflow.api.io.input.chat.MockUpChatInput;
11+
import org.codeoverflow.chatoverflow.api.io.input.chat.DiscordChatInput;
1212

1313
// THIS FILE IS GENERATED WHILE COMPILING. DO NOT CHANGE ANYTHING HERE!
1414

@@ -46,135 +46,135 @@ public Requirement<FileInput> file(String uniqueRequirementId) {
4646
}
4747

4848
/**
49-
* Requires a SampleInput which has to be specified by the user.
49+
* Requires a connection with a device connected to a serial port (an Arduino for example) which has to be specified by the user.
5050
*
5151
* @param uniqueRequirementId a plugin unique identifier which is stored for your plugin
5252
* @param displayName a string to display to the user while setting your requirement
5353
* @param isOptional true if this requirement is optional, false if mandatory
5454
* @return the requirement object. Use the get() method only at runtime!
5555
*/
56-
public Requirement<SampleInput> sample(String uniqueRequirementId, String displayName, boolean isOptional) {
57-
return requirements.requireInput(uniqueRequirementId, displayName, isOptional, SampleInput.class);
56+
public Requirement<SerialInput> serial(String uniqueRequirementId, String displayName, boolean isOptional) {
57+
return requirements.requireInput(uniqueRequirementId, displayName, isOptional, SerialInput.class);
5858
}
5959

6060
/**
61-
* Requires a SampleInput which has to be specified by the user.
61+
* Requires a connection with a device connected to a serial port (an Arduino for example) which has to be specified by the user.
6262
*
6363
* @param uniqueRequirementId a plugin unique identifier which is stored for your plugin
6464
* @return the requirement object. Use the get() method only at runtime!
6565
*/
66-
public Requirement<SampleInput> sample(String uniqueRequirementId) {
67-
return requirements.requireInput(uniqueRequirementId, "Sample", false, SampleInput.class);
66+
public Requirement<SerialInput> serial(String uniqueRequirementId) {
67+
return requirements.requireInput(uniqueRequirementId, "Serial", false, SerialInput.class);
6868
}
6969

7070
/**
71-
* Requires a connection with a device connected to a serial port (an Arduino for example) which has to be specified by the user.
71+
* Requires a SampleInput which has to be specified by the user.
7272
*
7373
* @param uniqueRequirementId a plugin unique identifier which is stored for your plugin
7474
* @param displayName a string to display to the user while setting your requirement
7575
* @param isOptional true if this requirement is optional, false if mandatory
7676
* @return the requirement object. Use the get() method only at runtime!
7777
*/
78-
public Requirement<SerialInput> serial(String uniqueRequirementId, String displayName, boolean isOptional) {
79-
return requirements.requireInput(uniqueRequirementId, displayName, isOptional, SerialInput.class);
78+
public Requirement<SampleInput> sample(String uniqueRequirementId, String displayName, boolean isOptional) {
79+
return requirements.requireInput(uniqueRequirementId, displayName, isOptional, SampleInput.class);
8080
}
8181

8282
/**
83-
* Requires a connection with a device connected to a serial port (an Arduino for example) which has to be specified by the user.
83+
* Requires a SampleInput which has to be specified by the user.
8484
*
8585
* @param uniqueRequirementId a plugin unique identifier which is stored for your plugin
8686
* @return the requirement object. Use the get() method only at runtime!
8787
*/
88-
public Requirement<SerialInput> serial(String uniqueRequirementId) {
89-
return requirements.requireInput(uniqueRequirementId, "Serial", false, SerialInput.class);
88+
public Requirement<SampleInput> sample(String uniqueRequirementId) {
89+
return requirements.requireInput(uniqueRequirementId, "Sample", false, SampleInput.class);
9090
}
9191

9292
/**
93-
* Requires a discord chat bot which has to be specified by the user.
93+
* Requires a login for the TipeeeStream api which has to be specified by the user.
9494
*
9595
* @param uniqueRequirementId a plugin unique identifier which is stored for your plugin
9696
* @param displayName a string to display to the user while setting your requirement
9797
* @param isOptional true if this requirement is optional, false if mandatory
9898
* @return the requirement object. Use the get() method only at runtime!
9999
*/
100-
public Requirement<DiscordChatInput> discordChat(String uniqueRequirementId, String displayName, boolean isOptional) {
101-
return requirements.requireInput(uniqueRequirementId, displayName, isOptional, DiscordChatInput.class);
100+
public Requirement<TipeeestreamEventInput> tipeeeStream(String uniqueRequirementId, String displayName, boolean isOptional) {
101+
return requirements.requireInput(uniqueRequirementId, displayName, isOptional, TipeeestreamEventInput.class);
102102
}
103103

104104
/**
105-
* Requires a discord chat bot which has to be specified by the user.
105+
* Requires a login for the TipeeeStream api which has to be specified by the user.
106106
*
107107
* @param uniqueRequirementId a plugin unique identifier which is stored for your plugin
108108
* @return the requirement object. Use the get() method only at runtime!
109109
*/
110-
public Requirement<DiscordChatInput> discordChat(String uniqueRequirementId) {
111-
return requirements.requireInput(uniqueRequirementId, "Discord Chat", false, DiscordChatInput.class);
110+
public Requirement<TipeeestreamEventInput> tipeeeStream(String uniqueRequirementId) {
111+
return requirements.requireInput(uniqueRequirementId, "Tipeeestream Event", false, TipeeestreamEventInput.class);
112112
}
113113

114114
/**
115-
* Requires a MockUpChatInput which has to be specified by the user.
115+
* Requires a TwitchChatInput which has to be specified by the user.
116116
*
117117
* @param uniqueRequirementId a plugin unique identifier which is stored for your plugin
118118
* @param displayName a string to display to the user while setting your requirement
119119
* @param isOptional true if this requirement is optional, false if mandatory
120120
* @return the requirement object. Use the get() method only at runtime!
121121
*/
122-
public Requirement<MockUpChatInput> mockUpChat(String uniqueRequirementId, String displayName, boolean isOptional) {
123-
return requirements.requireInput(uniqueRequirementId, displayName, isOptional, MockUpChatInput.class);
122+
public Requirement<TwitchChatInput> twitchChat(String uniqueRequirementId, String displayName, boolean isOptional) {
123+
return requirements.requireInput(uniqueRequirementId, displayName, isOptional, TwitchChatInput.class);
124124
}
125125

126126
/**
127-
* Requires a MockUpChatInput which has to be specified by the user.
127+
* Requires a TwitchChatInput which has to be specified by the user.
128128
*
129129
* @param uniqueRequirementId a plugin unique identifier which is stored for your plugin
130130
* @return the requirement object. Use the get() method only at runtime!
131131
*/
132-
public Requirement<MockUpChatInput> mockUpChat(String uniqueRequirementId) {
133-
return requirements.requireInput(uniqueRequirementId, "Mock Up Chat", false, MockUpChatInput.class);
132+
public Requirement<TwitchChatInput> twitchChat(String uniqueRequirementId) {
133+
return requirements.requireInput(uniqueRequirementId, "Twitch Chat", false, TwitchChatInput.class);
134134
}
135135

136136
/**
137-
* Requires a TwitchChatInput which has to be specified by the user.
137+
* Requires a MockUpChatInput which has to be specified by the user.
138138
*
139139
* @param uniqueRequirementId a plugin unique identifier which is stored for your plugin
140140
* @param displayName a string to display to the user while setting your requirement
141141
* @param isOptional true if this requirement is optional, false if mandatory
142142
* @return the requirement object. Use the get() method only at runtime!
143143
*/
144-
public Requirement<TwitchChatInput> twitchChat(String uniqueRequirementId, String displayName, boolean isOptional) {
145-
return requirements.requireInput(uniqueRequirementId, displayName, isOptional, TwitchChatInput.class);
144+
public Requirement<MockUpChatInput> mockUpChat(String uniqueRequirementId, String displayName, boolean isOptional) {
145+
return requirements.requireInput(uniqueRequirementId, displayName, isOptional, MockUpChatInput.class);
146146
}
147147

148148
/**
149-
* Requires a TwitchChatInput which has to be specified by the user.
149+
* Requires a MockUpChatInput which has to be specified by the user.
150150
*
151151
* @param uniqueRequirementId a plugin unique identifier which is stored for your plugin
152152
* @return the requirement object. Use the get() method only at runtime!
153153
*/
154-
public Requirement<TwitchChatInput> twitchChat(String uniqueRequirementId) {
155-
return requirements.requireInput(uniqueRequirementId, "Twitch Chat", false, TwitchChatInput.class);
154+
public Requirement<MockUpChatInput> mockUpChat(String uniqueRequirementId) {
155+
return requirements.requireInput(uniqueRequirementId, "Mock Up Chat", false, MockUpChatInput.class);
156156
}
157157

158158
/**
159-
* Requires a login for the TipeeeStream api which has to be specified by the user.
159+
* Requires a discord chat bot which has to be specified by the user.
160160
*
161161
* @param uniqueRequirementId a plugin unique identifier which is stored for your plugin
162162
* @param displayName a string to display to the user while setting your requirement
163163
* @param isOptional true if this requirement is optional, false if mandatory
164164
* @return the requirement object. Use the get() method only at runtime!
165165
*/
166-
public Requirement<TipeeestreamEventInput> tipeeeStream(String uniqueRequirementId, String displayName, boolean isOptional) {
167-
return requirements.requireInput(uniqueRequirementId, displayName, isOptional, TipeeestreamEventInput.class);
166+
public Requirement<DiscordChatInput> discordChat(String uniqueRequirementId, String displayName, boolean isOptional) {
167+
return requirements.requireInput(uniqueRequirementId, displayName, isOptional, DiscordChatInput.class);
168168
}
169169

170170
/**
171-
* Requires a login for the TipeeeStream api which has to be specified by the user.
171+
* Requires a discord chat bot which has to be specified by the user.
172172
*
173173
* @param uniqueRequirementId a plugin unique identifier which is stored for your plugin
174174
* @return the requirement object. Use the get() method only at runtime!
175175
*/
176-
public Requirement<TipeeestreamEventInput> tipeeeStream(String uniqueRequirementId) {
177-
return requirements.requireInput(uniqueRequirementId, "Tipeeestream Event", false, TipeeestreamEventInput.class);
176+
public Requirement<DiscordChatInput> discordChat(String uniqueRequirementId) {
177+
return requirements.requireInput(uniqueRequirementId, "Discord Chat", false, DiscordChatInput.class);
178178
}
179179

180180

src/main/java/org/codeoverflow/chatoverflow/api/plugin/configuration/Output.java

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
import org.codeoverflow.chatoverflow.api.io.output.FileOutput;
66
import org.codeoverflow.chatoverflow.api.io.output.SerialOutput;
7-
import org.codeoverflow.chatoverflow.api.io.output.chat.DiscordChatOutput;
87
import org.codeoverflow.chatoverflow.api.io.output.chat.TwitchChatOutput;
8+
import org.codeoverflow.chatoverflow.api.io.output.chat.DiscordChatOutput;
99

1010
// THIS FILE IS GENERATED WHILE COMPILING. DO NOT CHANGE ANYTHING HERE!
1111

@@ -29,7 +29,7 @@ public class Output {
2929
* @return the requirement object. Use the get() method only at runtime!
3030
*/
3131
public Requirement<FileOutput> file(String uniqueRequirementId, String displayName, boolean isOptional) {
32-
return requirements.requireInput(uniqueRequirementId, displayName, isOptional, FileOutput.class);
32+
return requirements.requireOutput(uniqueRequirementId, displayName, isOptional, FileOutput.class);
3333
}
3434

3535
/**
@@ -39,7 +39,7 @@ public Requirement<FileOutput> file(String uniqueRequirementId, String displayNa
3939
* @return the requirement object. Use the get() method only at runtime!
4040
*/
4141
public Requirement<FileOutput> file(String uniqueRequirementId) {
42-
return requirements.requireInput(uniqueRequirementId, "File", false, FileOutput.class);
42+
return requirements.requireOutput(uniqueRequirementId, "File", false, FileOutput.class);
4343
}
4444

4545
/**
@@ -51,7 +51,7 @@ public Requirement<FileOutput> file(String uniqueRequirementId) {
5151
* @return the requirement object. Use the get() method only at runtime!
5252
*/
5353
public Requirement<SerialOutput> serial(String uniqueRequirementId, String displayName, boolean isOptional) {
54-
return requirements.requireInput(uniqueRequirementId, displayName, isOptional, SerialOutput.class);
54+
return requirements.requireOutput(uniqueRequirementId, displayName, isOptional, SerialOutput.class);
5555
}
5656

5757
/**
@@ -61,51 +61,51 @@ public Requirement<SerialOutput> serial(String uniqueRequirementId, String displ
6161
* @return the requirement object. Use the get() method only at runtime!
6262
*/
6363
public Requirement<SerialOutput> serial(String uniqueRequirementId) {
64-
return requirements.requireInput(uniqueRequirementId, "Serial", false, SerialOutput.class);
64+
return requirements.requireOutput(uniqueRequirementId, "Serial", false, SerialOutput.class);
6565
}
6666

6767
/**
68-
* Requires a discord chat bot which has to be specified by the user.
68+
* Requires a TwitchChatOutput which has to be specified by the user.
6969
*
7070
* @param uniqueRequirementId a plugin unique identifier which is stored for your plugin
7171
* @param displayName a string to display to the user while setting your requirement
7272
* @param isOptional true if this requirement is optional, false if mandatory
7373
* @return the requirement object. Use the get() method only at runtime!
7474
*/
75-
public Requirement<DiscordChatOutput> discordChat(String uniqueRequirementId, String displayName, boolean isOptional) {
76-
return requirements.requireInput(uniqueRequirementId, displayName, isOptional, DiscordChatOutput.class);
75+
public Requirement<TwitchChatOutput> twitchChat(String uniqueRequirementId, String displayName, boolean isOptional) {
76+
return requirements.requireOutput(uniqueRequirementId, displayName, isOptional, TwitchChatOutput.class);
7777
}
7878

7979
/**
80-
* Requires a discord chat bot which has to be specified by the user.
80+
* Requires a TwitchChatOutput which has to be specified by the user.
8181
*
8282
* @param uniqueRequirementId a plugin unique identifier which is stored for your plugin
8383
* @return the requirement object. Use the get() method only at runtime!
8484
*/
85-
public Requirement<DiscordChatOutput> discordChat(String uniqueRequirementId) {
86-
return requirements.requireInput(uniqueRequirementId, "Discord Chat", false, DiscordChatOutput.class);
85+
public Requirement<TwitchChatOutput> twitchChat(String uniqueRequirementId) {
86+
return requirements.requireOutput(uniqueRequirementId, "Twitch Chat", false, TwitchChatOutput.class);
8787
}
8888

8989
/**
90-
* Requires a TwitchChatOutput which has to be specified by the user.
90+
* Requires a discord chat bot which has to be specified by the user.
9191
*
9292
* @param uniqueRequirementId a plugin unique identifier which is stored for your plugin
9393
* @param displayName a string to display to the user while setting your requirement
9494
* @param isOptional true if this requirement is optional, false if mandatory
9595
* @return the requirement object. Use the get() method only at runtime!
9696
*/
97-
public Requirement<TwitchChatOutput> twitchChat(String uniqueRequirementId, String displayName, boolean isOptional) {
98-
return requirements.requireInput(uniqueRequirementId, displayName, isOptional, TwitchChatOutput.class);
97+
public Requirement<DiscordChatOutput> discordChat(String uniqueRequirementId, String displayName, boolean isOptional) {
98+
return requirements.requireOutput(uniqueRequirementId, displayName, isOptional, DiscordChatOutput.class);
9999
}
100100

101101
/**
102-
* Requires a TwitchChatOutput which has to be specified by the user.
102+
* Requires a discord chat bot which has to be specified by the user.
103103
*
104104
* @param uniqueRequirementId a plugin unique identifier which is stored for your plugin
105105
* @return the requirement object. Use the get() method only at runtime!
106106
*/
107-
public Requirement<TwitchChatOutput> twitchChat(String uniqueRequirementId) {
108-
return requirements.requireInput(uniqueRequirementId, "Twitch Chat", false, TwitchChatOutput.class);
107+
public Requirement<DiscordChatOutput> discordChat(String uniqueRequirementId) {
108+
return requirements.requireOutput(uniqueRequirementId, "Discord Chat", false, DiscordChatOutput.class);
109109
}
110110

111111

src/main/java/org/codeoverflow/chatoverflow/api/plugin/configuration/Parameter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public class Parameter {
2626
* @return the requirement object. Use the get() method only at runtime!
2727
*/
2828
public Requirement<StringParameter> string(String uniqueRequirementId, String displayName, boolean isOptional) {
29-
return requirements.requireInput(uniqueRequirementId, displayName, isOptional, StringParameter.class);
29+
return requirements.requireParameter(uniqueRequirementId, displayName, isOptional, StringParameter.class);
3030
}
3131

3232
/**
@@ -36,7 +36,7 @@ public Requirement<StringParameter> string(String uniqueRequirementId, String di
3636
* @return the requirement object. Use the get() method only at runtime!
3737
*/
3838
public Requirement<StringParameter> string(String uniqueRequirementId) {
39-
return requirements.requireInput(uniqueRequirementId, "String", false, StringParameter.class);
39+
return requirements.requireParameter(uniqueRequirementId, "String", false, StringParameter.class);
4040
}
4141

4242

0 commit comments

Comments
 (0)