package Ġcom . github . ker ub istan . ker ub . planner . steps . storage . share . nfs Ċ Ċ import Ġcom . fasterxml . jackson . annotation . Json TypeName Ċ import Ġcom . github . ker ub istan . ker ub . model . Host Ċ import Ġcom . github . ker ub istan . ker ub . model . config . Host Configuration Ċ import Ġcom . github . ker ub istan . ker ub . model . services . N fs Service Ċ import Ġcom . github . ker ub istan . ker ub . planner . steps . Abstract Operation al Step Ċ import Ġcom . github . ker ub istan . ker ub . planner . steps . Invert ible Step Ċ import Ġcom . github . ker ub istan . ker ub . planner . steps . storage . mount . Mount N fs Ċ Ċ @ Json TypeName (" share - nfs ") Ċ data Ġclass ĠShare N fs ( Ċĉ ĉ override Ġval Ġdirectory : ĠString , Ċĉ ĉ override Ġval Ġhost : ĠHost , Ċĉ ĉ val Ġwrite : ĠBoolean Ġ= Ġtrue Ċ ) Ġ: ĠAbstract N fs Share Step (), ĠIn vert ible Step Ġ{ Ċ ĉ override Ġfun Ġis Inverse Of ( other : ĠAbstract Operation al Step ) Ġ= Ċĉĉ ĉ other Ġis ĠUn share N fs Ġ&& Ġother . directory Ġ== Ġdirectory Ġ&& Ġother . host Ġ== Ġhost ĊĊ ĉ override Ġval Ġuse Before Ġget () Ġ= ĠlistOf ( Mount N fs :: class ) ĊĊ ĉ override Ġfun Ġupdate Host Config ( config : ĠHost Configuration ): ĠHost Configuration Ġ= Ġconfig . copy ( Ċĉĉ ĉ services Ġ= Ġconfig . services Ġ+ ĠN fs Service ( directory , Ġwrite ) Ċ ĉ ) Ċ Ċ }