Class ScriptServiceGrpc
java.lang.Object
com.soulfiremc.grpc.generated.ScriptServiceGrpc
ScriptService provides management capabilities for automation scripts within SoulFire. STATUS: This service is currently DISABLED while a visual node-based script editor is under development. The service definition is preserved as a placeholder for the future implementation. HISTORY: This service previously supported JavaScript, Python, and TypeScript scripts that could be scoped either globally (affecting all instances) or per-instance. The text-based scripting system (using GraalVM Polyglot) was removed in favor of an upcoming visual script editor that will provide a more user-friendly, node-based approach to automation. PLANNED FUNCTIONALITY: When re-implemented, this service will likely provide: - Script creation, deletion, and modification through a visual editor - Script execution scoped to global or instance levels - Script lifecycle management (start, stop, restart) - Script listing and metadata retrieval - Integration with the logging system via InstanceScriptLogScope (see logs.proto) PERMISSIONS: Script-related permissions have been reserved in common.proto: - GlobalPermission fields 18-22 are reserved for global script permissions - InstancePermission fields 16-20 are reserved for instance script permissions LOGGING: Script execution logs can be filtered using InstanceScriptLogScope defined in logs.proto, which requires both an instance_id and script_id.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceScriptService provides management capabilities for automation scripts within SoulFire.static final classA stub to allow clients to do limited synchronous rpc calls to service ScriptService.static final classA stub to allow clients to do synchronous rpc calls to service ScriptService.static final classA stub to allow clients to do ListenableFuture-style rpc calls to service ScriptService.static classBase class for the server implementation of the service ScriptService.static final classA stub to allow clients to do asynchronous rpc calls to service ScriptService. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic final io.grpc.ServerServiceDefinitionstatic io.grpc.ServiceDescriptornewBlockingStub(io.grpc.Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the servicenewBlockingV2Stub(io.grpc.Channel channel) Creates a new blocking-style stub that supports all types of calls on the servicenewFutureStub(io.grpc.Channel channel) Creates a new ListenableFuture-style stub that supports unary calls on the servicenewStub(io.grpc.Channel channel) Creates a new async stub that supports all call types for the service
-
Field Details
-
SERVICE_NAME
- See Also:
-
-
Method Details
-
newStub
Creates a new async stub that supports all call types for the service -
newBlockingV2Stub
public static ScriptServiceGrpc.ScriptServiceBlockingV2Stub newBlockingV2Stub(io.grpc.Channel channel) Creates a new blocking-style stub that supports all types of calls on the service -
newBlockingStub
Creates a new blocking-style stub that supports unary and streaming output calls on the service -
newFutureStub
Creates a new ListenableFuture-style stub that supports unary calls on the service -
bindService
public static final io.grpc.ServerServiceDefinition bindService(ScriptServiceGrpc.AsyncService service) -
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-