Package dev.turboism.sdk.cubism.export
Interface ProtectedExportPlanner
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@CubismEditor({"5.1.00","5.1.01","5.1.02","5.1.03","5.2.00","5.2.01","5.2.02","5.2.03","5.3.00","5.3.01","5.3.02","5.3.03","5.3.04"})
@FunctionalInterface
public interface ProtectedExportPlanner
Single protected-export planner owned by the contributing plugin.
The runtime calls the planner on its export worker thread with a read-only
ProtectedExportCensus of the staging copy. A planner must be pure and fast:
it never mutates the model, opens a file, performs an export or touches the host, and
it must answer the same census with the same plan. The runtime verifies the returned
plan against the census and refuses the export when any entry disagrees, so a planner
can never widen its own authority.
-
Method Summary
Modifier and TypeMethodDescriptionplan(ProtectedExportCensus census) Plans the rewrite and flatten targets for one censused staging copy.
-
Method Details
-
plan
Plans the rewrite and flatten targets for one censused staging copy.- Parameters:
census- immutable census of the copy; nevernulland never mutated- Returns:
- an admitted plan for the runtime to verify, or a bounded rejection
-