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.
    • Constructor Detail

      • PropertyToTranslate

        protected PropertyToTranslate()
    • Method Detail

      • getSourceValue

        public String getSourceValue()
      • getTargetValue

        public String getTargetValue()