IntegrationEntryMaterializer class final
Materializes a generated integration entry and records its file mutations.
The patcher owns the journal lifetime and cleanup policy; this boundary owns only the temporary integration directory and generated file write.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
materialize(
{required PreparedIntegrationEntry? prepared, required String appDir, required FileMutationJournal mutations}) → MaterializedIntegrationEntry? - Writes a prevalidated entry and registers it with the patch transaction.
-
prepare(
{required String appDir, required String sourceRelativePath, required String source, required String packageName(), required bool sourceHasApplicationEntry}) → PreparedIntegrationEntry? - Plans and validates the generated path before the patcher starts writing.