Class ApplicationPreStartEvent
- java.lang.Object
-
- de.dytanic.cloudnet.driver.event.Event
-
- de.dytanic.cloudnet.driver.event.events.DriverEvent
-
- de.dytanic.cloudnet.wrapper.event.ApplicationPreStartEvent
-
public final class ApplicationPreStartEvent extends de.dytanic.cloudnet.driver.event.events.DriverEventThis event is only interesting for wrapper modules. It is called before the actual program is started in a new thread.- See Also:
DriverEvent
-
-
Constructor Summary
Constructors Constructor Description ApplicationPreStartEvent(Wrapper cloudNetWrapper, java.lang.Class<?> clazz, java.io.File applicationFile, java.util.Collection<java.lang.String> arguments)ApplicationPreStartEvent(Wrapper cloudNetWrapper, java.lang.Class<?> clazz, java.util.jar.Manifest manifest, java.util.Collection<java.lang.String> arguments)Deprecated.the manifest of the application file is not available in the wrapper anymore and has been replaced by the whole application file
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.io.FilegetApplicationFile()java.util.Collection<java.lang.String>getArguments()java.lang.Class<?>getClazz()WrappergetCloudNetWrapper()java.util.jar.ManifestgetManifest()Deprecated.the manifest of the application file is not available in the wrapper anymore, usegetApplicationFile()to get the file of the manifest
-
-
-
Constructor Detail
-
ApplicationPreStartEvent
@Deprecated public ApplicationPreStartEvent(Wrapper cloudNetWrapper, java.lang.Class<?> clazz, java.util.jar.Manifest manifest, java.util.Collection<java.lang.String> arguments)
Deprecated.the manifest of the application file is not available in the wrapper anymore and has been replaced by the whole application file
-
ApplicationPreStartEvent
public ApplicationPreStartEvent(Wrapper cloudNetWrapper, java.lang.Class<?> clazz, java.io.File applicationFile, java.util.Collection<java.lang.String> arguments)
-
-
Method Detail
-
getCloudNetWrapper
public Wrapper getCloudNetWrapper()
-
getClazz
public java.lang.Class<?> getClazz()
-
getManifest
@Deprecated public java.util.jar.Manifest getManifest()
Deprecated.the manifest of the application file is not available in the wrapper anymore, usegetApplicationFile()to get the file of the manifest
-
getApplicationFile
public java.io.File getApplicationFile()
-
getArguments
public java.util.Collection<java.lang.String> getArguments()
-
-