-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
28 changed files
with
513 additions
and
282 deletions.
There are no files selected for viewing
7 changes: 6 additions & 1 deletion
7
...ugin-core/src/main/java/com/github/linyuzai/plugin/core/autoload/PluginAutoLoadEvent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,18 @@ | ||
package com.github.linyuzai.plugin.core.autoload; | ||
|
||
import com.github.linyuzai.plugin.core.concept.Plugin; | ||
import lombok.Getter; | ||
|
||
/** | ||
* 插件自动加载事件 | ||
*/ | ||
@Getter | ||
public class PluginAutoLoadEvent extends PluginAutoEvent { | ||
|
||
public PluginAutoLoadEvent(Plugin plugin) { | ||
private final String path; | ||
|
||
public PluginAutoLoadEvent(Plugin plugin, String path) { | ||
super(plugin); | ||
this.path = path; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 6 additions & 1 deletion
7
...in-core/src/main/java/com/github/linyuzai/plugin/core/autoload/PluginAutoReloadEvent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,18 @@ | ||
package com.github.linyuzai.plugin.core.autoload; | ||
|
||
import com.github.linyuzai.plugin.core.concept.Plugin; | ||
import lombok.Getter; | ||
|
||
/** | ||
* 插件自动重新加载事件 | ||
*/ | ||
@Getter | ||
public class PluginAutoReloadEvent extends PluginAutoEvent { | ||
|
||
public PluginAutoReloadEvent(Plugin plugin) { | ||
private final String path; | ||
|
||
public PluginAutoReloadEvent(Plugin plugin, String path) { | ||
super(plugin); | ||
this.path = path; | ||
} | ||
} |
7 changes: 6 additions & 1 deletion
7
...in-core/src/main/java/com/github/linyuzai/plugin/core/autoload/PluginAutoUnloadEvent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,18 @@ | ||
package com.github.linyuzai.plugin.core.autoload; | ||
|
||
import com.github.linyuzai.plugin.core.concept.Plugin; | ||
import lombok.Getter; | ||
|
||
/** | ||
* 插件自动重新加载事件 | ||
*/ | ||
@Getter | ||
public class PluginAutoUnloadEvent extends PluginAutoEvent { | ||
|
||
public PluginAutoUnloadEvent(Plugin plugin) { | ||
private final String path; | ||
|
||
public PluginAutoUnloadEvent(Plugin plugin, String path) { | ||
super(plugin); | ||
this.path = path; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.