SoftwareRecipeStepCopyFile class
Copies the artifact to the specified path on the instance.
Constructors
-
SoftwareRecipeStepCopyFile({required Input<
String> artifactId, required Input<String> destination, Input<bool> ? overwrite, Input<String> ? permissions}) -
Creates a new SoftwareRecipeStepCopyFile.
artifactIdThe id of the relevant artifact in the recipe.destinationThe absolute path on the instance to put the file.overwriteWhether to allow this step to overwrite existing files. If this is false and the file already exists the file is not overwritten and the step is considered a success. Defaults to false.permissionsConsists of three octal digits which represent, in order, the permissions of the owner, group, and other users for the file (similarly to the numeric mode used in the linux chmod utility). Each digit represents a three bit number with the 4 bit corresponding to the read permissions, the 2 bit corresponds to the write bit, and the one bit corresponds to the execute permission. Default behavior is 755. Below are some examples of permissions and their associated values: read, write, and execute: 7 read and execute: 5 read and write: 6 read only: 4const -
SoftwareRecipeStepCopyFile.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
artifactId
→ Input<
String> -
The id of the relevant artifact in the recipe.
final
-
destination
→ Input<
String> -
The absolute path on the instance to put the file.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
overwrite
→ Input<
bool> ? -
Whether to allow this step to overwrite existing files. If this is false and the file already exists the file is not overwritten and the step is considered a success. Defaults to false.
final
-
permissions
→ Input<
String> ? -
Consists of three octal digits which represent, in order, the permissions of the owner, group, and other users for the file (similarly to the numeric mode used in the linux chmod utility). Each digit represents a three bit number with the 4 bit corresponding to the read permissions, the 2 bit corresponds to the write bit, and the one bit corresponds to the execute permission. Default behavior is 755. Below are some examples of permissions and their associated values: read, write, and execute: 7 read and execute: 5 read and write: 6 read only: 4
final
- 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
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited