Class TemplateAttribute

All Implemented Interfaces:
Patchable, Viewable, Cacheable, Observed, Retrievable, Serializable, ColumnAccessByName, ObjectModel, Persistent

public class TemplateAttribute extends RadioBoxAttribute implements Patchable
Author:
Youngho Cho
See Also:
  • Constructor Details

    • TemplateAttribute

      public TemplateAttribute()
      Creates a new TemplateAttribute object.
  • Method Details

    • applyPatch

      public void applyPatch(File projectHome, File templateHome, String osName) throws Exception
      Template 의 내용을 patch 한다. Android 의 경우 Java Class 를 patch 한다. 현재는 patch 로직이 주석 처리되어 있어 항상 예외를 던진다. (참고: CordovaServiceImpl)
      Specified by:
      applyPatch in interface Patchable
      Parameters:
      projectHome - patch 를 적용할 project 경로
      templateHome - patch 파일이 있는 template 경로
      osName - 대상 platform(OS) 이름
      Throws:
      Exception - patch 적용 중 오류가 발생한 경우
      UnsupportedOperationException - 항상 발생 (미구현)