Class AutoPageTranslateServiceImpl.PropertyToTranslate

    • Field Detail

      • sourceResource

        protected org.apache.sling.api.resource.Resource sourceResource
        The resource where we take the translation source from. Can be the targetResource but also the source of a live copy.
      • targetResource

        protected org.apache.sling.api.resource.Resource targetResource
        The resource where we write the translation.
      • propertyName

        protected String propertyName
      • isAlreadyCorrectlyTranslated

        protected boolean isAlreadyCorrectlyTranslated
        True if the source value wasn't changed since the last translation - that is, the target value still has a correct translation and should not be modified.
      • isCancelled

        protected boolean isCancelled
        Whether the inheritance is cancelled for that property. If it is it won't be changed, but might be used as context for the translation and the properties for the merge tool are set.
    • Constructor Detail

      • PropertyToTranslate

        protected PropertyToTranslate()
    • Method Detail

      • getSourceValue

        public String getSourceValue()
      • getTargetValue

        public String getTargetValue()